@charset "UTF-8";
@view-transition { navigation: auto; }

:root {
  --u: calc(100vw / 1400);
  --black: #000;
  --white: #fff;
  --gray-bg: #f0f0f0;
  --line: #d9d9d9;
  --tag-line: #bebebe;
  --c-orange: #fbb03b;
  --c-yellow: #fcee21;
  --c-purple: #93278f;
  --c-teal: #00a99d;
  --c-pink: #ff7bac;
  --c-blue: #29abe2;
  --font-en: "Poppins", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --font-ja: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --side: calc(50 * var(--u));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(60 * var(--u)); }
body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }

main { overflow-x: clip; }
main > section { position: relative; }

/* 慣性スクロール */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}
html.lenis { scroll-behavior: auto; }

/* 共通：セクション見出し */
.sec-head__en {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: calc(64 * var(--u));
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-left: calc(-4 * var(--u));
}
.sec-head__mark {
  display: inline-block;
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
  margin: calc(-2 * var(--u)) 0 0 calc(16 * var(--u));
  background: var(--mark);
}
.sec-head__ja {
  margin-top: calc(16 * var(--u));
  font-weight: 700;
  font-size: calc(13 * var(--u));
  line-height: 1;
  margin-left: calc(2 * var(--u));
}
.sec-head--white { color: var(--white); }

.sec-lead {
  margin: calc(35 * var(--u)) var(--side) 0;
  font-weight: 300;
  font-size: calc(16 * var(--u));
  line-height: 1.6;
}

.sec-head__chars { display: inline-block; white-space: normal; }
.sec-head__char { display: inline-block; }
.sec-head__word { display: inline-block; white-space: nowrap; }
.sec-head__en.is-ready .sec-head__char {
  opacity: 0;
  transform: translateY(35%);
}
.sec-head__en.is-ready .sec-head__mark {
  opacity: 0;
  transform: translateY(120%) rotate(-270deg) scale(.4);
}
.sec-head__en.is-inview .sec-head__char {
  animation: introRise .6s cubic-bezier(.22, 1, .36, 1) calc(var(--i) * .06s) forwards;
}
.sec-head__en.is-inview .sec-head__mark {
  animation: markSpin .8s cubic-bezier(.34, 1.4, .5, 1) var(--mark-delay, .6s) forwards;
}
@keyframes markSpin {
  0%   { opacity: 0; transform: translateY(120%) rotate(-270deg) scale(.4); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

.fx-line { position: relative; display: inline-block; vertical-align: top; }
.fx-line > i {
  position: absolute;
  left: 0;
  top: 0;
  width: 1em;
  height: 100%;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
}
.fx-line > .fx-text { display: inline-block; clip-path: inset(0 100% 0 0); opacity: 0; }
.fx-fade { opacity: 0; }
.is-fx-in .fx-line > i { animation: fxFlash .3s ease-out var(--d, 0s) forwards; }
.is-fx-in .fx-line > .fx-text {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transition: clip-path .8s cubic-bezier(.215, .61, .355, 1) calc(var(--d, 0s) + .2s), opacity .3s linear calc(var(--d, 0s) + .2s);
}
.is-fx-in .fx-fade, .is-fx-in.fx-fade { opacity: 1; transition: opacity .6s ease var(--d, 0s); }
@keyframes fxFlash {
  0%, 40% { opacity: 0; }
  55%     { opacity: .8; }
  70%     { opacity: 0; }
  85%     { opacity: .3; }
  100%    { opacity: 0; }
}

/* 共通：READボタン */
.btn-read {
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: calc(174 * var(--u));
  height: calc(52 * var(--u));
  padding: 0 calc(19 * var(--u)) 0 calc(21 * var(--u));
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: calc(20 * var(--u));
  line-height: 1;
  border: 1px solid var(--black);
  overflow: hidden;
  isolation: isolate;
  transition: color .3s .1s;
}
.btn-read--site { width: calc(220 * var(--u)); gap: calc(20 * var(--u)); }
.btn-read img { width: calc(60 * var(--u)); transition: filter .3s .1s; }

.btn-read::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.77, 0, .18, 1);
}
.btn-read:hover,
.btn-read:focus-visible { color: var(--black); }
.btn-read:hover::before,
.btn-read:focus-visible::before { transform: scaleX(1); }
.btn-read:hover img,
.btn-read:focus-visible img { filter: invert(1); }

/* ヘッダー */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(18 * var(--u)) calc(52 * var(--u)) calc(14 * var(--u)) calc(17 * var(--u));

  transition: padding .7s cubic-bezier(.34, 1.25, .5, 1);
}

.site-header.is-scrolled { padding-top: calc(10 * var(--u)); padding-bottom: calc(8 * var(--u)); }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header__logo img { width: calc(113 * var(--u)); }
.global-nav__sub { display: none; }
.gn-en { display: none; }
.global-nav ul { display: flex; gap: calc(26 * var(--u)); padding-top: calc(4 * var(--u)); }
.global-nav a {
  font-size: calc(13 * var(--u));
  line-height: 1.2;
}

.global-nav a,
.site-footer__nav a {
  position: relative;
  display: inline-block;
  padding-bottom: calc(4 * var(--u));
}
.global-nav a::after,
.site-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.global-nav a:hover::after,
.global-nav a:focus-visible::after,
.site-footer__nav a:hover::after,
.site-footer__nav a:focus-visible::after {
  transform: scaleX(1);
}
.nav-toggle { display: none; }

/* メインビジュアル */
.hero { height: 100vh; height: 100svh; overflow: hidden; }
.hero__cubes { position: absolute; left: 0; top: 0; width: calc(1231 * var(--u)); height: auto; aspect-ratio: 1231 / 693; display: block; object-fit: cover; background: #fff; filter: brightness(1.012); }
.hero__logo { position: absolute; left: calc(422 * var(--u)); top: calc(206 * var(--u)); width: calc(556 * var(--u)); }
.hero__logo img { width: 100%; }
.hero__logo { margin: 0; }
.hero__copy { position: absolute; right: calc(46 * var(--u)); top: calc(487 * var(--u)); text-align: right; }
.hero__copy-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: calc(32 * var(--u));
  line-height: 1;
  white-space: pre;
}
.hero__copy-ja { margin-top: calc(14 * var(--u)); font-size: calc(16 * var(--u)); line-height: 1; }

/* WHO WE ARE */
.about {
  height: calc(787 * var(--u));
  padding: calc(27 * var(--u)) 0 0 var(--side);
  padding-left: calc(40 * var(--u));
  background: url(../assets/whoweare-bg.png) center / cover no-repeat;
  color: var(--white);
}
.about { overflow: hidden; }
.about__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.about > :not(.about__video):not(.about__btn) { position: relative; z-index: 1; }
.about__btn { z-index: 1; }
.about__body {
  margin-top: calc(143 * var(--u));
  padding-left: calc(10 * var(--u));
  font-size: calc(20 * var(--u));
  line-height: calc(45 * var(--u));
}
.about__lead { font-weight: 700; font-size: calc(24 * var(--u)); }
.about__btn { position: absolute; right: calc(50 * var(--u)); top: calc(462 * var(--u)); }

/* コンセプト */
.concept {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: calc(701 * var(--u));
  padding: calc(140 * var(--u)) calc(49 * var(--u)) 0 var(--side);
  background: url(../assets/gradient-bg.png) center / cover no-repeat;
}
.concept__text { width: calc(649 * var(--u)); }
.concept__title {
  width: calc(900 * var(--u));
  font-weight: 300;
  font-size: calc(32 * var(--u));
  line-height: 2;
  margin-bottom: calc(20 * var(--u));
}
.concept__text p:not(.concept__title) {
  font-weight: 300;
  font-size: calc(14 * var(--u));
  line-height: 3;
}
.concept__text p + p { margin-top: calc(42 * var(--u)); }
.concept__catch {
  margin-top: calc(99 * var(--u));
  font-family: var(--font-en);
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
}
.concept__catch-b { display: block; font-weight: 700; font-size: calc(64 * var(--u)); }
.concept__catch-l { display: block; font-weight: 300; font-size: calc(96 * var(--u)); line-height: 1.3; margin-top: calc(4 * var(--u)); }

/* コンセプト固定 */
.concept {
  position: sticky;
  top: min(0px, calc(100vh - 701 * var(--u)));
  z-index: 0;
}
.concept ~ section { z-index: 1; }
.service, .company, .news { background-color: var(--white); }
.service { box-shadow: 0 calc(-20 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .06); }

/* SERVICE */
.service { padding: 0 0 calc(87 * var(--u)); }
.service__pin {
  position: sticky;
  top: 0;
  padding: calc(103 * var(--u)) 0 calc(40 * var(--u)) calc(40 * var(--u));
}
.service .sec-lead { margin-left: calc(10 * var(--u)); margin-top: calc(31 * var(--u)); }
.service__slider {
  margin-top: calc(24 * var(--u));
  padding: 0 0 0 calc(98 * var(--u));
}
.service__list { display: flex; width: max-content; padding-top: calc(30 * var(--u)); will-change: transform; }
@media (min-width: 1025px) {
  .service__list { cursor: grab; user-select: none; }
  .service.is-dragging .service__list { cursor: grabbing; }
  .service.is-dragging .service-card > a { pointer-events: none; }
}
.service-card { position: relative; width: calc(514 * var(--u)); height: calc(481 * var(--u)); margin-left: -1px; border: 1px solid var(--line); z-index: 0; transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease, z-index 0s .6s; }
.service-card:hover, .service-card.is-active, .service-card:focus-within { z-index: 2; transform: scale(1.04); box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .18); transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease, z-index 0s; }
.service-card { background-color: var(--white); }
:is(.service__list, .other-svc__list) .service-card:has(~ .service-card:is(:hover, .is-active)) { transform: translateX(calc(-1 * (2% + 14 * var(--u)))); }
:is(.service__list, .other-svc__list) .service-card:is(:hover, .is-active) ~ .service-card { transform: translateX(calc(2% + 14 * var(--u))); }
.service-card > a { display: block; position: relative; height: 100%; padding: calc(132 * var(--u)) 0 0 calc(30 * var(--u)); transition: color .4s; }
.service-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity .5s ease, transform 0s .5s;
}
.service-card > a { overflow: clip; margin: -1px; height: calc(100% + 2px); }
.service-card__icon { position: absolute; max-width: none; transition: opacity .4s; }
.service-card__icon.is-white { opacity: 0; }
.service-card__icon--web       { left: calc(-17 * var(--u)); top: 0; width: calc(155 * var(--u)); }
.service-card__icon--dx        { left: calc(-47 * var(--u)); top: calc(-19 * var(--u)); width: calc(206 * var(--u)); }
.service-card__icon--system    { left: calc(-32 * var(--u)); top: calc(-13 * var(--u)); width: calc(192 * var(--u)); }
.service-card__icon--marketing { left: calc(-44 * var(--u)); top: calc(-18 * var(--u)); width: calc(202 * var(--u)); }
.service-card__icon--cloud     { left: calc(-36 * var(--u)); top: calc(-9 * var(--u)); width: calc(183 * var(--u)); }
.service-card__icon--web.is-white       { left: calc(-17.4 * var(--u)); top: calc(-0.3 * var(--u)); width: calc(154.9 * var(--u)); }
.service-card__icon--dx.is-white        { left: calc(-49.7 * var(--u)); top: calc(-20.7 * var(--u)); width: calc(211.5 * var(--u)); }
.service-card__icon--system.is-white    { left: calc(-32.6 * var(--u)); top: calc(-13 * var(--u)); width: calc(192.3 * var(--u)); }
.service-card__icon--marketing.is-white { left: calc(-44.7 * var(--u)); top: calc(-18.8 * var(--u)); width: calc(203.4 * var(--u)); }
.service-card__icon--cloud.is-white     { left: calc(-35.2 * var(--u)); top: calc(-9 * var(--u)); width: calc(181.3 * var(--u)); }
.service-card__en {
  position: relative;
  width: calc(447 * var(--u));
  font-family: var(--font-en);
  font-weight: 300;
  font-size: calc(32 * var(--u));
  line-height: 1.5;
  text-transform: uppercase;
}
.service-card__ja { position: relative; margin-top: calc(28 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1; }
.service-card__more { position: absolute; right: calc(10 * var(--u)); bottom: calc(9 * var(--u)); width: calc(34 * var(--u)); opacity: 0; transform: translateX(calc(-8 * var(--u))); transition: opacity .4s, transform .5s cubic-bezier(.22, 1, .36, 1); }

.service-card > a:hover,
.service-card.is-active > a,
.service-card > a:focus-visible { color: var(--white); }
.service-card > a:hover .service-card__photo,
.service-card.is-active > a .service-card__photo,
.service-card > a:focus-visible .service-card__photo { opacity: 1; transform: scale(1.12); transition: opacity .6s ease, transform 7s cubic-bezier(.25, .46, .45, .94); }
.service-card > a:hover .service-card__icon,
.service-card.is-active > a .service-card__icon,
.service-card > a:focus-visible .service-card__icon { opacity: 0; }
.service-card > a:hover .service-card__icon.is-white,
.service-card.is-active > a .service-card__icon.is-white,
.service-card > a:focus-visible .service-card__icon.is-white { opacity: 1; }
.service-card > a:hover .service-card__en,
.service-card > a:hover .service-card__ja,
.service-card.is-active > a .service-card__en,
.service-card.is-active > a .service-card__ja,
.service-card > a:focus-visible .service-card__en,
.service-card > a:focus-visible .service-card__ja { font-weight: 700; }
.service-card > a:hover .service-card__more,
.service-card.is-active > a .service-card__more,
.service-card > a:focus-visible .service-card__more { opacity: 1; transform: none; }

/* CASE STUDYS */
.case { padding: 0; background: var(--gray-bg); }
.case__pin { position: sticky; top: 0; padding: calc(70 * var(--u)) calc(50 * var(--u)) calc(56 * var(--u)) calc(40 * var(--u)); }
.case .sec-lead { margin-left: calc(10 * var(--u)); margin-top: calc(31 * var(--u)); }
.case__slider { margin: calc(60 * var(--u)) calc(-50 * var(--u)) 0 calc(10 * var(--u)); }
.case__list { display: flex; width: max-content; gap: calc(80 * var(--u)); will-change: transform; transition: transform .8s cubic-bezier(.77, 0, .18, 1); }
.case__item { position: relative; display: flex; gap: calc(45 * var(--u)); width: calc(1300 * var(--u)); }
.case__info { flex: 1; }
@media (min-width: 1025px) {
  .case__list { cursor: grab; user-select: none; }
  .case.is-dragging .case__list { cursor: grabbing; }
}
.case__img { width: calc(711 * var(--u)); flex-shrink: 0; }
.case__info { padding-top: calc(10 * var(--u)); }
.case__client { font-weight: 700; font-size: calc(20 * var(--u)); line-height: 1.45; }
.case__desc { margin-top: calc(22 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2; }
.case__tags { display: flex; gap: calc(7 * var(--u)); margin-top: calc(25 * var(--u)); }
.case__tags li {
  width: calc(101 * var(--u));
  height: calc(23 * var(--u));
  border: 1px solid var(--tag-line);
  background: var(--white);
  font-weight: 300;
  font-size: calc(13 * var(--u));
  line-height: calc(21 * var(--u));
  text-align: center;
}
.case__btn { position: absolute; right: 0; bottom: 0; }

/* COMPANY */
.company { height: calc(865 * var(--u)); padding: calc(110 * var(--u)) 0 0 calc(40 * var(--u)); }
.company__squares { position: absolute; left: 0; top: calc(254 * var(--u)); width: calc(260 * var(--u));; aspect-ratio: 260 / 555; }
.company__squares span { position: absolute; width: 50%; height: 25%; background: var(--c); }

.company__squares.fx-ready span { opacity: 0; transform: scale(.4); }
.company__squares.is-fx-in span {
  animation: squarePop .45s cubic-bezier(.34, 1.56, .64, 1) calc(.3s + var(--i) * .14s) forwards;
}
@keyframes squarePop {
  0%   { opacity: 0; transform: scale(.4); }
  40%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.company__body { position: absolute; left: calc(215 * var(--u)); top: calc(273 * var(--u)); }
.company__philosophy {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: calc(96 * var(--u));
  line-height: 1.2;
  margin-left: calc(-6 * var(--u));
}
.company__text {
  margin: calc(20 * var(--u)) 0 0 calc(100 * var(--u));
  font-weight: 300;
  font-size: calc(24 * var(--u));
  line-height: 1.8;
}
.company__btn { position: absolute; right: calc(50 * var(--u)); top: calc(757 * var(--u)); }

/* NEWS */
.news { padding: calc(86 * var(--u)) var(--side) calc(130 * var(--u)) calc(40 * var(--u)); }
.news__list { margin: calc(57 * var(--u)) 0 0 calc(10 * var(--u)); display: grid; gap: calc(21 * var(--u)); }
.news__item {
  display: flex;
  align-items: center;
  min-height: calc(55 * var(--u));
  padding: 0 calc(24 * var(--u));
  border: 1px solid var(--line);
  font-weight: 300;
  font-size: calc(14 * var(--u));
  line-height: 1.6;
}
.news__item time { flex-shrink: 0; margin-right: calc(14 * var(--u)); }
.news__item a { text-decoration: underline; text-underline-offset: calc(2 * var(--u)); }
.news__item a:hover,
.news__item a:focus-visible { text-decoration: none; }

/* CONTACT US */
.contact { color: var(--white); }
.contact__link { display: block; position: relative; background: var(--black); height: calc(285 * var(--u)); padding: calc(54 * var(--u)) 0 0 calc(40 * var(--u));; overflow: hidden; isolation: isolate; color: var(--white); transition: color .3s .1s; }
.contact__text { margin-top: calc(37 * var(--u)); margin-left: calc(-6 * var(--u)); font-weight: 300; font-size: calc(16 * var(--u)); line-height: 1.6; }
.contact__arrow { position: absolute; left: calc(1265 * var(--u)); top: calc(136 * var(--u)); width: calc(60 * var(--u)); transition: filter .3s .1s; }
.contact .sec-head--white { color: inherit; }

.contact__link::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.77, 0, .18, 1);
}
.contact__link:hover,
.contact__link:focus-visible { color: var(--black); }
.contact__link:hover::before,
.contact__link:focus-visible::before { transform: scaleX(1); }
.contact__link:hover .contact__arrow,
.contact__link:focus-visible .contact__arrow { filter: invert(1); }
/* スマホ等のタッチ端末では、スクロール中に触れただけで白く反転したままになるため反転を無効化 */
@media (hover: none) {
  .contact__link:hover { color: var(--white); }
  .contact__link:hover::before { transform: scaleX(0); }
  .contact__link:hover .contact__arrow { filter: none; }
  .contact__link:active::before { transform: scaleX(1); transition-duration: .3s; }
  .contact__link:active { color: var(--black); }
  .contact__link:active .contact__arrow { filter: invert(1); }
}

/* フッター */
.site-footer { position: relative; height: calc(242 * var(--u)); padding: calc(54 * var(--u)) calc(40 * var(--u)) 0 calc(50 * var(--u)); }
.site-footer__logo img { width: calc(198 * var(--u)); }
.site-footer__nav { position: absolute; right: calc(52 * var(--u)); top: calc(63 * var(--u)); }
.site-footer__nav ul { display: flex; gap: calc(26 * var(--u)); }
.site-footer__nav a { font-size: calc(13 * var(--u)); line-height: 1.2; }
.site-footer__bottom { position: absolute; right: calc(52 * var(--u)); top: calc(124 * var(--u)); display: flex; align-items: center; gap: calc(32 * var(--u)); }
.site-footer__privacy { position: relative; font-size: calc(12 * var(--u)); line-height: 1.2; padding-bottom: calc(4 * var(--u)); color: #555; }
.site-footer__privacy::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
.site-footer__privacy:hover::after, .site-footer__privacy:focus-visible::after { transform: scaleX(1); }
.site-footer__note { display: inline-flex; align-items: center; }
.site-footer__note img { width: calc(34 * var(--u)); margin-right: calc(8 * var(--u)); }
.site-footer__note span { line-height: 1; text-box: trim-both cap alphabetic; }
.site-footer__note .ic-ext { width: calc(11 * var(--u)); height: calc(11 * var(--u)); margin-left: calc(5 * var(--u)); }
.site-footer__x .x-logo { width: calc(13 * var(--u)); height: calc(13 * var(--u)); margin-right: calc(7 * var(--u)); color: #111; flex: none; }
.site-footer__copy { font-family: var(--font-en); font-size: calc(13 * var(--u)); text-transform: uppercase; }

.btn-pagetop {
  position: fixed;
  right: calc(30 * var(--u));
  bottom: calc(30 * var(--u));
  z-index: 40;
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  padding: 0;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(16 * var(--u)));
  transition: color .3s .1s, opacity .4s ease, visibility .4s, transform .5s cubic-bezier(.34, 1.25, .5, 1);
}
.btn-pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.hide-pagetop .btn-pagetop { opacity: 0; visibility: hidden; transform: translateY(calc(16 * var(--u))); }
.btn-pagetop img { width: calc(30 * var(--u)); transform: rotate(-90deg); }

.btn-pagetop::before { transform: scaleY(0); transform-origin: center bottom; }
.btn-pagetop:hover::before,
.btn-pagetop:focus-visible::before { transform: scaleY(1); }

/* ローディング（TOP・初回のみ） */
.loader { display: none; }
html.is-loading .loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--white); transition: opacity .7s ease, visibility .7s; }
html.is-loading.is-loaded .loader { opacity: 0; visibility: hidden; }
html.is-loading:not(.is-loaded) body { overflow: hidden; }
.loader__logo { display: flex; align-items: center; gap: 6px; }
.loader__mark { display: grid; grid-template: repeat(4, 1fr) / repeat(4, 1fr); width: 40px; aspect-ratio: 1; }
.loader__mark i { background: var(--c); opacity: 0; transform: scale(.4); }
.loader__logo img { width: 205px; opacity: 0; transform: translateX(-14px); }
.loader__logo.is-in i { animation: squarePop .45s cubic-bezier(.34, 1.56, .64, 1) calc(.3s + var(--i) * .1s) forwards; }
.loader__logo.is-in img { opacity: 1; transform: none; transition: opacity .8s ease 1.1s, transform 1s cubic-bezier(.22, 1, .36, 1) 1.1s; }
.loader__logo.is-out i, .loader__logo.is-out img { opacity: 0; transition: opacity .35s ease; }
html.is-loading:not(.is-loaded) .site-header,
html.is-loading:not(.is-loaded) .site-header *,
html.is-loading:not(.is-loaded) .hero,
html.is-loading:not(.is-loaded) .hero * { animation-play-state: paused !important; }

/* オープニング */
.hero__chars { display: none; }
html.intro .hero__logo img { opacity: 0; }
html.intro .hero__chars { display: block; position: absolute; inset: 0; }
html.intro .hero__char {
  position: absolute;
  top: 0;
  height: 100%;
  background-image: url(../assets/logo-wordmark-transparent.png);
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(35%);
  animation: introRise .6s cubic-bezier(.22, 1, .36, 1) calc(.7s + var(--i) * .12s) forwards;
}
html.intro .hero__cubes    { opacity: 0; animation: introFade 1s ease .2s forwards; }
html.intro .site-header    { opacity: 0; transform: translateY(-20px); animation: introRise .6s ease 2.3s forwards; }

@keyframes introFade { to { opacity: 1; } }
@keyframes introRise { to { opacity: 1; transform: none; } }
@keyframes introWipe { to { clip-path: inset(0 0 0 0); } }

/* ================= 下層ページ共通 =================
   統一ルール（1400px幅基準・TOPと共通）
   左右余白：50px／本文の開始位置：233px（左にページ内メニュー）
   ページ見出し：英字64px（TOPの大見出しと同じ）＋日本語13px
   小見出しラベル：Poppins 15px グレー／リード見出し：22px太字・行間1.8
   本文：15px Light・行間2.4／段落の間：1.2em／セクションの間：140px */
.is-sub main { padding-top: 0; }
.page-hero { position: relative; padding: calc(84 * var(--u)) var(--side) calc(70 * var(--u)) calc(40 * var(--u)); }
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(122 * var(--u));
  width: calc(141 * var(--u));
  height: calc(151 * var(--u));
  background: var(--mark);
  opacity: 0;
}
/* TOPの見出しと同じく、文字がせり上がり切ってから四角が下からクルッと回転して現れる */
.page-hero.is-mark::before { animation: markSpin .8s cubic-bezier(.34, 1.4, .5, 1) var(--mark-delay, 1s) forwards; }
.breadcrumb { position: relative; font-size: calc(13 * var(--u)); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: calc(4 * var(--u)) calc(18 * var(--u)); }
.breadcrumb li { white-space: nowrap; }
.breadcrumb li:last-child { white-space: normal; }
.breadcrumb li + li::before { content: "＞"; margin-right: calc(18 * var(--u)); }
.breadcrumb a { text-decoration: underline; text-underline-offset: calc(2 * var(--u)); }
.breadcrumb a:hover,
.breadcrumb a:focus-visible { text-decoration: none; }
.page-hero__head { position: relative; margin: calc(64 * var(--u)) 0 0 calc(32 * var(--u)); }
.page-hero__head .sec-head__ja { margin: calc(18 * var(--u)) 0 0 calc(85 * var(--u)); }

.sub-layout { display: grid; grid-template-columns: calc(233 * var(--u)) 1fr; padding: calc(30 * var(--u)) calc(85 * var(--u)) calc(160 * var(--u)) 0; }
.local-nav { position: relative; }
.sub-content { min-width: 0; }
.local-nav ul { position: sticky; top: calc(110 * var(--u)); padding-left: calc(36 * var(--u)); display: grid; gap: calc(22 * var(--u)); }
.local-nav a { position: relative; display: inline-block; padding-left: calc(24 * var(--u)); font-weight: 700; font-size: calc(15 * var(--u)); line-height: 1.4; transition: opacity .2s; }
.local-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: calc(14 * var(--u));
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.local-nav a::after {
  content: "";
  position: absolute;
  left: calc(8 * var(--u));
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg) scale(0);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.local-nav a.is-current::before, .local-nav a:hover::before { transform: none; }
.local-nav a.is-current::after, .local-nav a:hover::after { transform: rotate(45deg); }
.local-nav a:not(.is-current) { opacity: .55; }
.local-nav a:hover { opacity: 1; }

.sub-sec + .sub-sec { margin-top: calc(140 * var(--u)); }
.sub-sec { scroll-margin-top: calc(100 * var(--u)); }
.sub-sec__label { font-family: var(--font-en); font-weight: 500; font-size: calc(15 * var(--u)); color: #757575; letter-spacing: .04em; }
.sub-sec__title { margin-top: calc(18 * var(--u)); font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.8; }
.sub-sec__body { margin-top: calc(22 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.4; }
.sub-sec__body p + p { margin-top: 1.2em; }
.sub-figure { margin: calc(70 * var(--u)) auto 0; width: calc(896 * var(--u)); max-width: 100%; }
.sub-figure img { width: 100%; }

.strength-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(40 * var(--u)); margin-top: calc(34 * var(--u)); }
.strength-card { aspect-ratio: 1; border: 1px solid #bababa; padding: calc(40 * var(--u)) calc(30 * var(--u)) calc(30 * var(--u)); text-align: center; background: var(--white); transition: border-color .3s, transform .4s cubic-bezier(.22, 1, .36, 1); }
.strength-card:hover { border-color: var(--black); transform: translateY(calc(-6 * var(--u))); }
.strength-card__en { font-family: var(--font-en); font-weight: 600; font-size: calc(14 * var(--u)); color: #474747; text-transform: uppercase; letter-spacing: .06em; }
.strength-card__ja { margin-top: calc(10 * var(--u)); font-weight: 700; font-size: calc(32 * var(--u)); line-height: 1.4; }
.strength-card__text { margin-top: calc(26 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2; text-align: left; }

/* 幅広レイアウト（ページ内メニューなし） */
.sub-wide { padding: calc(20 * var(--u)) var(--side) calc(150 * var(--u)); }
.sub-lead { text-align: center; }
.sub-lead__text { font-weight: 700; font-size: calc(38 * var(--u)); line-height: 1.6; letter-spacing: .02em; }
.sub-lead__text em { font-style: normal; font-size: calc(48 * var(--u)); color: #93278f; }
.service-grid { display: grid; grid-template-columns: repeat(3, calc(514 * var(--u))); justify-content: center; gap: calc(25 * var(--u)); margin-top: calc(90 * var(--u)); }
.service-grid .service-card { margin-left: 0; }
.sub-more { margin-top: calc(90 * var(--u)); text-align: center; }
.btn-read--wide { width: calc(545 * var(--u)); padding: 0 calc(24 * var(--u)) 0 calc(38 * var(--u)); text-align: left; }

/* ---------- サービス詳細ページ ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero--detail::before { top: calc(122 * var(--u)); width: calc(44 * var(--u)); height: calc(48 * var(--u)); }
.page-hero__cat { position: absolute; left: calc(23 * var(--u)); top: calc(131 * var(--u)); z-index: 1; font-family: var(--font-en); font-weight: 700; font-size: calc(24 * var(--u)); line-height: 1.2; text-transform: uppercase; }
.page-hero--detail .page-hero__head { margin-top: calc(62 * var(--u)); }
.page-hero--detail .sec-head__en { margin-top: calc(12 * var(--u)); font-weight: 500; line-height: 1.2; }
.page-hero__ja { margin-top: calc(14 * var(--u)); font-weight: 700; font-size: calc(20 * var(--u)); }
.detail-kv { position: sticky; top: 0; z-index: 0; height: calc(523 * var(--u)); overflow: hidden; }
/* メイン写真は止まり、その下の内容が写真の上に被さってくる */
.detail-kv::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.detail-kv ~ * { position: relative; z-index: 1; background-color: var(--white); }
.detail-kv + .detail-wrap { padding-top: 1px; box-shadow: 0 calc(-20 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .08); }
.detail-kv ~ .contact { background-color: var(--black); }
.detail-kv ~ .detail-wrap { display: flow-root; }
.detail-kv img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.detail-wrap { padding: 0 calc(73 * var(--u)); }
.detail-sec { margin-top: calc(130 * var(--u)); }
.detail-h2 { font-weight: 700; font-size: calc(32 * var(--u)); line-height: 1.6; }
.detail-lead { position: relative; display: flex; justify-content: flex-end; margin-top: calc(70 * var(--u)); }
.detail-lead__img { width: calc(801 * var(--u)); height: calc(351 * var(--u)); object-fit: cover; }
.detail-lead__box { position: absolute; left: 0; top: calc(60 * var(--u)); z-index: 1; width: calc(690 * var(--u)); padding: calc(36 * var(--u)) calc(40 * var(--u)) calc(34 * var(--u)) 0; background: var(--white); }
.detail-lead__box::before { display: none; }
/* 白い枠が文字と一緒に左から入ってくる */
.detail-lead.fx-ready .detail-lead__box { clip-path: inset(0 100% 0 0); transform: translateX(calc(-40 * var(--u))); }
.detail-lead.is-fx-in .detail-lead__box { clip-path: inset(0 0 0 0); transform: none; transition: clip-path .9s cubic-bezier(.77, 0, .18, 1) .15s, transform 1s cubic-bezier(.22, 1, .36, 1) .15s; }
.detail-lead__title { font-weight: 700; font-size: calc(36 * var(--u)); line-height: 1.4; }
.detail-lead__text { margin-top: calc(26 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.menu-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(47 * var(--u)) calc(66 * var(--u)); }
.menu-card { width: calc(373 * var(--u)); min-height: calc(348 * var(--u)); border: 1px solid var(--line); padding: calc(14 * var(--u)) calc(24 * var(--u)) calc(30 * var(--u)); text-align: center; transition: border-color .3s, transform .4s cubic-bezier(.22, 1, .36, 1); }
.menu-card:hover { border-color: var(--black); transform: translateY(calc(-6 * var(--u))); }
.menu-card__icon { height: calc(80 * var(--u)); width: auto; margin: 0 auto; object-fit: contain; }
.menu-card__title { margin-top: calc(14 * var(--u)); font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.6; }
.menu-card__text { margin-top: calc(18 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2; text-align: left; }
.detail-catch { text-align: center; font-weight: 700; font-size: calc(36 * var(--u)); line-height: 1.5; }
.detail-catch em { font-style: normal; font-size: calc(48 * var(--u)); color: #93278f; }
.worries__body { display: flex; align-items: center; gap: calc(16 * var(--u)); margin-top: calc(40 * var(--u)); }
.worries__img { width: calc(580 * var(--u)); flex-shrink: 0; margin-left: calc(-10 * var(--u)); }
.worries__list { flex: 1; display: grid; gap: calc(3 * var(--u)); }
.worries__list li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 1em; min-height: calc(62 * var(--u)); padding: calc(14 * var(--u)) calc(26 * var(--u)); background: #e1e8fd; }
.worries__list strong { font-size: calc(20 * var(--u)); line-height: 1.6; }
.worries__list span { font-weight: 300; font-size: calc(14 * var(--u)); line-height: 1.6; }
.vision { position: relative; min-height: calc(414 * var(--u)); padding-top: calc(70 * var(--u)); }
.vision__mark { position: absolute; right: calc(-73 * var(--u)); top: 0; width: calc(600 * var(--u)); z-index: -1; opacity: .95; }
/* 大きな「DX」は右から気持ちよく滑り込む */
.vision.fx-ready .vision__mark { opacity: 0; transform: translateX(calc(240 * var(--u))); }
.vision.is-fx-in .vision__mark { opacity: .95; transform: none; transition: transform 1.6s cubic-bezier(.16, 1, .3, 1) .7s, opacity 1s ease .7s; }
.vision__title { position: relative; font-weight: 700; font-size: calc(48 * var(--u)); line-height: 1.4; }
.vision__text { position: relative; width: calc(840 * var(--u)); }
.policy-list { display: grid; gap: calc(11 * var(--u)); margin-top: calc(30 * var(--u)); counter-reset: none; }
.policy-list li { padding: calc(20 * var(--u)) calc(30 * var(--u)); background: var(--gray-bg); }
.policy-list__head { font-weight: 700; font-size: calc(17 * var(--u)); line-height: 1.8; }
.policy-list__head span { margin-right: calc(12 * var(--u)); font-family: var(--font-en); font-size: calc(24 * var(--u)); }
.policy-list li p:not(.policy-list__head) { margin-top: calc(4 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2; }
.faq { margin-top: calc(30 * var(--u)); border-top: 1px solid var(--line); }
.faq__item { border: 1px solid var(--line); border-top: 0; }
.faq__item summary { position: relative; display: block; padding: calc(18 * var(--u)) calc(70 * var(--u)) calc(18 * var(--u)) calc(24 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 1.6; cursor: pointer; list-style: none; transition: background .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q."; margin-right: .6em; font-family: var(--font-en); font-weight: 700; }
.faq__item summary::after { content: ""; position: absolute; right: calc(32 * var(--u)); top: 50%; width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq__item[open] summary { font-weight: 700; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:hover { background: #fafafa; }
.faq__a { padding: calc(6 * var(--u)) calc(24 * var(--u)) calc(26 * var(--u)) calc(48 * var(--u)); font-weight: 300; font-size: calc(14 * var(--u)); line-height: 2.1; background: var(--gray-bg); }
.faq__a p { padding-top: calc(16 * var(--u)); }
.detail-cta { margin-top: calc(130 * var(--u)); text-align: center; }
.detail-cta__title { font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.6; }
.detail-cta__text { margin-top: calc(16 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.1; }
.detail-cta__btns { display: grid; justify-content: center; gap: calc(28 * var(--u)); margin-top: calc(50 * var(--u)); }
.other-svc { position: relative; padding: 0 0 calc(40 * var(--u)); overflow: clip; }
.other-svc__pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding: calc(60 * var(--u)) 0 calc(60 * var(--u)) calc(218 * var(--u)); }
.other-svc__back { position: absolute; left: calc(50 * var(--u)); top: 50%; z-index: 2; display: grid; place-items: center; width: calc(124 * var(--u)); height: calc(59 * var(--u)); margin-top: calc(-15 * var(--u)); background: var(--black); transition: opacity .5s, visibility .5s, background-color .3s; }
.other-svc__back img { width: calc(59 * var(--u)); transform: scaleX(-1); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.other-svc__back:hover img { transform: scaleX(-1) translateX(calc(8 * var(--u))); }
.other-svc.is-moved .other-svc__back { opacity: 0; visibility: hidden; }
.other-svc__list { display: flex; width: max-content; padding-top: calc(30 * var(--u)); will-change: transform; }
.other-svc__list .service-card { flex-shrink: 0; }
@media (min-width: 1025px) {
  .other-svc__list { cursor: grab; user-select: none; }
  .other-svc.is-dragging .other-svc__list { cursor: grabbing; }
  .other-svc.is-dragging .service-card > a { pointer-events: none; }
}

.global-nav a[aria-current="page"]::after, .site-footer__nav a[aria-current="page"]::after { transform: scaleX(1); }

/* WEBサイト構築 */
.intro-blocks { margin-top: calc(80 * var(--u)); }
.intro-blocks__row { display: flex; justify-content: space-between; gap: calc(60 * var(--u)); }
.intro-blocks__row + .intro-blocks__row { margin-top: calc(50 * var(--u)); }
.intro-blocks__text { width: calc(620 * var(--u)); padding-left: calc(21 * var(--u)); }
.intro-blocks__row--full .intro-blocks__text { width: auto; }
.intro-blocks__row:first-child .intro-blocks__text { padding-top: calc(18 * var(--u)); }
.intro-blocks__row:first-child { margin-bottom: calc(-260 * var(--u)); }
.intro-blocks__row--half { margin-top: calc(60 * var(--u)) !important; }
.intro-blocks__row--full { margin-top: calc(280 * var(--u)) !important; }
.intro-blocks__title { font-weight: 700; font-size: calc(32 * var(--u)); line-height: 1.4; }
.intro-blocks__body { margin-top: calc(22 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.intro-blocks__img { width: calc(545 * var(--u)); height: calc(501 * var(--u)); object-fit: cover; flex-shrink: 0; }
.works-strip { position: relative; z-index: 1; margin: 0; padding: calc(60 * var(--u)) 0 calc(70 * var(--u)); overflow: hidden; background: var(--white); }
.works-strip img { width: calc(1500 * var(--u)); max-width: none; margin-left: calc(-50 * var(--u)); }
.gray-band { position: relative; z-index: 1; margin-top: 0; padding: calc(60 * var(--u)) 0 calc(80 * var(--u)); background: var(--gray-bg) !important; }
.svc-rows { display: grid; gap: calc(34 * var(--u)); margin-top: calc(40 * var(--u)); }
.svc-rows li { display: grid; grid-template-columns: calc(112 * var(--u)) 1fr; align-items: center; }
.svc-rows img { width: auto; height: calc(56 * var(--u)); max-width: calc(70 * var(--u)); object-fit: contain; justify-self: center; }
.svc-rows h3 { font-weight: 700; font-size: calc(26 * var(--u)); line-height: 1.5; }
.svc-rows p { margin-top: calc(4 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2; }
.flow { display: grid; gap: calc(26 * var(--u)); margin-top: calc(40 * var(--u)); }
.flow__step { position: relative; display: grid; grid-template-columns: calc(196 * var(--u)) 1fr calc(445 * var(--u)); gap: calc(11 * var(--u)); align-items: start; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; left: calc(43 * var(--u)); top: calc(118 * var(--u)); bottom: calc(-22 * var(--u)); width: 1px; background: var(--black); }
.flow__step:not(:last-child)::before { content: ""; position: absolute; left: calc(41 * var(--u)); bottom: calc(-24 * var(--u)); width: 5px; height: 5px; border-radius: 50%; background: var(--black); }
.flow__no { display: inline-block; padding: calc(8 * var(--u)) calc(14 * var(--u)); background: var(--black); color: var(--white); font-family: var(--font-en); font-weight: 700; font-size: calc(15 * var(--u)); line-height: 1.6; }
.flow__name { margin-top: calc(10 * var(--u)); padding-left: calc(20 * var(--u)); font-weight: 700; font-size: calc(16 * var(--u)); line-height: 1.6; }
.flow__tasks { display: grid; gap: 2px; }
.flow__tasks li { padding: calc(10 * var(--u)) calc(14 * var(--u)); background: var(--gray-bg); font-weight: 300; font-size: calc(14 * var(--u)); line-height: 1.6; }
.flow__tasks span { display: inline-block; width: 2.4em; font-weight: 700; font-size: calc(12 * var(--u)); }
.flow__out { padding: calc(10 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)); background: var(--gray-bg); }
.flow__out-ttl { font-weight: 700; font-size: calc(14 * var(--u)); line-height: 1.6; }
.flow__out ul { margin-top: calc(6 * var(--u)); }
.flow__out li { position: relative; padding-left: 1em; font-weight: 300; font-size: calc(14 * var(--u)); line-height: 1.9; }
.flow__out li::before { content: "・"; position: absolute; left: 0; }
.faq__list { margin: .4em 0 .6em; padding-left: 1.4em; list-style: disc; }

/* ページ切り替え：クリックしたサービス写真を詳細ページのメイン写真へ引き継ぐ */
.is-sub .detail-kv img { view-transition-name: svc-photo; }
::view-transition-group(svc-photo) { animation-duration: .8s; animation-timing-function: cubic-bezier(.77, 0, .18, 1); z-index: 100; }
::view-transition-old(svc-photo), ::view-transition-new(svc-photo) { width: 100%; height: 100%; object-fit: cover; animation-duration: .8s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

/* COMPANY page */
.company__squares--page { left: auto; right: 0; top: calc(222 * var(--u)); width: calc(210 * var(--u)); aspect-ratio: 210 / 449; z-index: 1; }
.philosophy__title { margin-top: calc(40 * var(--u)); font-weight: 700; font-size: calc(88 * var(--u)); line-height: 1.25; letter-spacing: .02em; }
.philosophy__body { margin-top: calc(70 * var(--u)); font-weight: 300; font-size: calc(18 * var(--u)); line-height: 2.4; }
.philosophy__body p + p { margin-top: 1.6em; }
.logo-about__mark { display: flex; align-items: center; justify-content: center; gap: calc(10 * var(--u)); margin: calc(70 * var(--u)) 0; }
.logo-about__blocks { display: grid; grid-template: repeat(4, 1fr) / repeat(4, 1fr); width: calc(84 * var(--u)); aspect-ratio: 1; }
.logo-about__blocks i { background: var(--c); }
.logo-about__mark img { width: calc(430 * var(--u)); }
.logo-about__mark.fx-ready .logo-about__blocks i { opacity: 0; transform: scale(.4); }
.logo-about__mark.is-fx-in .logo-about__blocks i { animation: squarePop .45s cubic-bezier(.34, 1.56, .64, 1) calc(.3s + var(--i) * .1s) forwards; }
.logo-about__mark.fx-ready img { opacity: 0; transform: translateX(calc(-20 * var(--u))); }
.logo-about__mark.is-fx-in img { opacity: 1; transform: none; transition: opacity .8s ease 1.1s, transform 1s cubic-bezier(.22, 1, .36, 1) 1.1s; }
.motto { margin-top: calc(30 * var(--u)); counter-reset: motto; }
.motto li { position: relative; padding-left: calc(46 * var(--u)); counter-increment: motto; }
.motto li + li { margin-top: calc(36 * var(--u)); }
.motto li::before { content: counter(motto, decimal); position: absolute; left: 0; top: calc(2 * var(--u)); font-family: var(--font-en); font-weight: 700; font-size: calc(18 * var(--u)); line-height: 1.6; }
.motto__title { font-weight: 700; font-size: calc(18 * var(--u)); line-height: 1.6; }
.motto p { margin-top: calc(10 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.ceo { display: flex; gap: calc(30 * var(--u)); margin-top: calc(40 * var(--u)); align-items: flex-start; }
.ceo__photo { flex: none; width: calc(196 * var(--u)); }
.ceo__photo img { width: 100%; }
.ceo__name { font-weight: 700; font-size: calc(20 * var(--u)); line-height: 1.4; }
.ceo__role { margin-top: calc(8 * var(--u)); font-weight: 700; font-size: calc(15 * var(--u)); line-height: 1.6; }
.ceo__bio { margin-top: calc(18 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.ceo__bio + .ceo__bio { margin-top: 0; }
.outline { width: 100%; margin-top: calc(40 * var(--u)); border-collapse: collapse; font-size: calc(15 * var(--u)); line-height: 1.8; }
.outline th, .outline td { border: 1px solid #d9d9d9; padding: calc(12 * var(--u)) calc(20 * var(--u)); text-align: left; vertical-align: top; }
.outline th { width: calc(252 * var(--u)); background: #f0f0f0; font-weight: 700; }
.outline td { font-weight: 300; }
.outline td a { text-decoration: underline; text-underline-offset: calc(2 * var(--u)); }
.outline td a:hover, .outline td a:focus-visible { text-decoration: none; }
.outline__addr { display: flex; justify-content: space-between; gap: calc(20 * var(--u)); }
.outline__addr a { flex: none; }
.outline__map { margin: calc(14 * var(--u)) 0 calc(6 * var(--u)); aspect-ratio: 766 / 304; }
.outline__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.outline__map a, .outline__map img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* CASE page */
.case-page { padding: calc(20 * var(--u)) calc(73 * var(--u)) calc(160 * var(--u)) calc(88 * var(--u)); }
.case-filter { display: flex; flex-wrap: wrap; gap: calc(19 * var(--u)); }
.case-filter__btn { min-width: calc(140 * var(--u)); padding: calc(4 * var(--u)) calc(16 * var(--u)); border: 1px solid #bebebe; border-radius: 0; background: var(--white); font: inherit; font-weight: 300; font-size: calc(13 * var(--u)); line-height: 1.6; color: var(--black); cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .3s, color .3s, border-color .3s; }
.case-filter__btn:hover, .case-filter__btn.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.case-filter__btn { white-space: nowrap; }
.case-filter__num { margin-right: -.4em; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(70 * var(--u)) calc(31 * var(--u)); margin-top: calc(50 * var(--u)); }
.case-card[hidden] { display: none; }
.case-card > a, .case-card > div { position: relative; display: block; }
.case-card__img { position: relative; aspect-ratio: 604 / 320; overflow: hidden; border: 1px solid #d9d9d9; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.case-card > a:hover .case-card__img img, .case-card > a:focus-visible .case-card__img img { transform: scale(1.06); }
.case-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: calc(16 * var(--u)); margin-top: calc(6 * var(--u)); }
.btn-view.case-card__view { min-width: 0; height: calc(25 * var(--u)); gap: calc(8 * var(--u)); padding: 0 calc(6 * var(--u)) 0 calc(9 * var(--u)); font-size: calc(11 * var(--u)); }
.btn-view.case-card__view svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.case-card__title { margin-top: calc(10 * var(--u)); font-weight: 700; font-size: calc(16 * var(--u)); line-height: 1.6; }
.case-card__tasks { margin-top: calc(6 * var(--u)); font-weight: 300; font-size: calc(12 * var(--u)); line-height: 1.8; }
.case-card__date { margin-top: calc(2 * var(--u)); font-family: var(--font-en); font-weight: 300; font-size: calc(12 * var(--u)); line-height: 1.8; }
.case-card > a:hover .case-card__title { text-decoration: underline; text-underline-offset: calc(3 * var(--u)); }
.case-empty { margin-top: calc(50 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); }
.clients { margin-top: calc(200 * var(--u)); }
.clients__title { font-weight: 700; font-size: calc(20 * var(--u)); line-height: 1.6; }
.clients__logos { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: calc(36 * var(--u)) calc(44 * var(--u)); margin-top: calc(40 * var(--u)); }
.clients__logos li { display: flex; align-items: center; justify-content: center; min-height: calc(80 * var(--u)); }
.clients__logos img { width: calc(var(--w) * var(--u)); max-width: none; }

/* CASE detail */
.page-hero--case .page-hero__head { margin-top: calc(92 * var(--u)); }
.page-hero--case .case-hero__client { font-weight: 700; font-size: calc(24 * var(--u)); line-height: 1.5; }
.page-hero--case .sec-head__en { margin-top: 0; font-family: var(--font-ja, inherit); font-weight: 700; font-size: calc(36 * var(--u)); line-height: 1.5; text-transform: none; flex-wrap: wrap; }
.page-hero--case .sec-head__en { display: flex; max-width: 100%; }
.page-hero--case .sec-head__chars, .page-hero--case .sec-head__word { white-space: normal; max-width: 100%; }
.page-hero--case .sec-head__word { white-space: nowrap; }
.case-hero__lead { margin-top: calc(20 * var(--u)); font-weight: 300; font-size: calc(24 * var(--u)); line-height: 1.5; }
.detail-kv--case { height: auto; aspect-ratio: 1400 / 644; }
.detail-kv--case img { top: 0; height: 100%; transform: none !important; }
.ic-ext { display: inline-block; width: calc(13 * var(--u)); height: calc(13 * var(--u)); margin-left: calc(6 * var(--u)); vertical-align: -.05em; }
.case-detail { padding-left: calc(85 * var(--u)); padding-right: calc(76 * var(--u)); }
.case-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: calc(40 * var(--u)); margin-top: calc(50 * var(--u)); }
.case-meta__list { display: grid; gap: calc(4 * var(--u)); font-size: calc(14 * var(--u)); line-height: 2.2; }
.case-meta__list div { display: grid; grid-template-columns: calc(128 * var(--u)) 1fr; }
.case-meta__list dt { font-family: var(--font-en); font-weight: 300; }
.case-meta__list dd { font-weight: 300; }
.case-meta__list a { text-decoration: underline; text-underline-offset: calc(2 * var(--u)); }
.case-meta__list a:hover, .case-meta__list a:focus-visible { text-decoration: none; }
.btn-view { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--black); flex: none; display: inline-flex; align-items: center; justify-content: space-between; gap: calc(14 * var(--u)); min-width: calc(141 * var(--u)); height: calc(40 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(12 * var(--u)); background: var(--black); color: var(--white); font-family: var(--font-en); font-weight: 700; font-size: calc(14 * var(--u)); text-transform: uppercase; letter-spacing: .04em; transition: color .3s .1s; }
.btn-view svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.btn-view span { line-height: 1; text-box: trim-both cap alphabetic; }
.btn-view::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--white); transform: scaleX(0); transform-origin: left center; transition: transform .4s cubic-bezier(.77, 0, .18, 1); }
.btn-view:hover, .btn-view:focus-visible { color: var(--black); }
.btn-view:hover::before, .btn-view:focus-visible::before { transform: scaleX(1); }
.case-sec { margin-top: calc(100 * var(--u)); }
.case-sec__title { font-weight: 700; font-size: calc(24 * var(--u)); line-height: 1.5; }
.case-sec__body { margin: calc(20 * var(--u)) 0 0 calc(33 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.case-points { display: grid; grid-template-columns: 1fr calc(413 * var(--u)); gap: calc(80 * var(--u)); align-items: start; }
.case-points__list { margin: calc(30 * var(--u)) 0 0 calc(33 * var(--u)); }
.case-points__list li + li { margin-top: calc(30 * var(--u)); }
.case-points__list h3 { font-weight: 700; font-size: calc(16 * var(--u)); line-height: 1.6; }
.case-points__list h3 span { display: inline-block; width: calc(34 * var(--u)); font-family: var(--font-en); font-size: calc(14 * var(--u)); }
.case-points__list p { margin-top: calc(6 * var(--u)); font-weight: 300; font-size: calc(14 * var(--u)); line-height: 2.1; }
.case-points__figs { display: grid; gap: calc(17 * var(--u)); }
.case-points__figs figure { border: 1px solid #d9d9d9; padding: calc(13 * var(--u)) calc(18 * var(--u)); }
.case-points__figs img { width: 100%; }
.case-shots { margin-top: calc(120 * var(--u)); }
.case-shots__device { width: calc(653 * var(--u)); margin: 0 auto; }
.case-shots__device img { width: 100%; }
.case-shots__pages { display: flex; justify-content: center; align-items: flex-start; gap: calc(78 * var(--u)); margin-top: calc(95 * var(--u)); }
.case-shots__pages li { width: calc(265 * var(--u)); box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, .25); }
.case-shots__pages img { width: 100%; }
.case-shots__pages--2 { gap: calc(90 * var(--u)); }
.case-shots__pages--wide { flex-direction: column; align-items: center; gap: calc(60 * var(--u)); }
.case-shots__pages--wide li { width: calc(820 * var(--u)); }
.case-shots__pages--2 li { width: calc(380 * var(--u)); }
.case-shots__more { margin-top: calc(33 * var(--u)); text-align: right; }
.case-system { margin-top: calc(110 * var(--u)); }
.case-system__item { display: grid; grid-template-columns: calc(557 * var(--u)) 1fr; column-gap: calc(60 * var(--u)); align-items: center; padding: 0 calc(80 * var(--u)) 0 calc(105 * var(--u)); }
.case-system__item + .case-system__item { margin-top: calc(90 * var(--u)); }
.case-system__title { font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.5; }
.case-system__text p { margin-top: calc(20 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.case-system__img { justify-self: center; width: calc(var(--w) * .8 * var(--u)); max-width: 100%; }
.case-system__img img { width: 100%; height: auto; }
.case-system__diagram { width: calc(1048 * var(--u)); margin: calc(50 * var(--u)) 0 0 calc(110 * var(--u)); }
.case-system__diagram img { width: 100%; height: auto; }
.case-system__diagram { position: relative; }
/* 横スクロールの案内（はみ出したときだけJSで表示） */
.hscroll-hint { position: absolute; left: 50%; top: 50%; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(0, 0, 0, .65); color: var(--white); font-size: 11px; line-height: 1; pointer-events: none; animation: hscroll-blink 1.4s ease-in-out infinite; transition: opacity .4s; }
.hscroll-hint svg { width: 36px; height: 36px; }
.is-hscroll .hscroll-hint { display: flex; }
.is-hscrolled .hscroll-hint { opacity: 0; animation: none; }
@keyframes hscroll-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.case-system__screen { margin: calc(130 * var(--u)) 0 0 calc(83 * var(--u)); width: calc(1067 * var(--u)); }
.case-system__screen + .case-system__screen { margin-top: calc(100 * var(--u)); }
.case-system__screen figure { margin-top: calc(30 * var(--u)); box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, .25); }
.case-system__screen img { display: block; width: 100%; height: auto; }
.case-back-wrap { margin-top: calc(90 * var(--u)); padding-bottom: calc(160 * var(--u)); text-align: center; }
.case-back { display: inline-grid; place-items: center; width: calc(124 * var(--u)); height: calc(59 * var(--u)); background: var(--black); }
.case-back img { width: calc(59 * var(--u)); transform: scaleX(-1); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.case-back:hover img { transform: scaleX(-1) translateX(calc(8 * var(--u))); }

/* SYSTEM page */
.intro-blocks__row.sys-lead { margin-bottom: 0; align-items: center; gap: calc(30 * var(--u)); }
.sys-lead .intro-blocks__text { flex: 1; width: auto; }
.sys-lead .intro-blocks__img { width: calc(640 * var(--u)); height: auto; aspect-ratio: 709 / 399; object-fit: contain; }
.dev-icons { display: grid; grid-template-columns: repeat(8, 1fr); gap: calc(10 * var(--u)); margin: calc(40 * var(--u)) 0 calc(118 * var(--u)); }
.dev-icons li { display: flex; flex-direction: column; align-items: center; gap: calc(16 * var(--u)); }
.dev-icons img { height: calc(72 * var(--u)); width: auto; }
.dev-icons span { font-weight: 700; font-size: calc(14 * var(--u)); line-height: 1.4; text-align: center; }
.lang-logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(20 * var(--u)) calc(17 * var(--u)); margin-top: calc(30 * var(--u)); }
.lang-logos li { display: grid; place-items: center; height: calc(64 * var(--u)); background: var(--white); }
.lang-logos img { width: auto; max-width: 80%; height: auto; max-height: calc(44 * var(--u)); }
.can-do { text-align: center; }
.can-do__en { font-family: var(--font-en); font-weight: 700; font-size: calc(20 * var(--u)); text-transform: uppercase; letter-spacing: .04em; }
.can-do__title { margin-top: calc(10 * var(--u)); font-weight: 700; font-size: calc(36 * var(--u)); line-height: 1.5; }
.can-do__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(26 * var(--u)) calc(22 * var(--u)); margin-top: calc(50 * var(--u)); }
.can-do__list li { display: flex; flex-direction: column; justify-content: center; min-height: calc(98 * var(--u)); padding: calc(14 * var(--u)) calc(10 * var(--u)); border: 1px solid #d9d9d9; }
.can-do__list h3 { font-weight: 700; font-size: calc(20 * var(--u)); line-height: 1.5; }
.can-do__list p { margin-top: calc(6 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 1.6; }

/* MARKETING page */
.mk-catch { margin-top: calc(100 * var(--u)); text-align: center; }
.mk-catch__title { font-weight: 700; font-size: calc(44 * var(--u)); line-height: 1.4; }
.mk-catch__img { width: calc(1017 * var(--u)); max-width: 100%; margin: calc(20 * var(--u)) auto 0; }
.mk-catch__img img { width: 100%; }
.mk-catch__text { display: inline-block; margin-top: calc(10 * var(--u)); text-align: left; font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.mk-svc { position: relative; margin-top: calc(40 * var(--u)); }
.mk-svc + .mk-svc { margin-top: calc(70 * var(--u)); }
.mk-svc__img { height: calc(475 * var(--u)); overflow: hidden; }
.mk-svc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.22, 1, .36, 1); }
.mk-svc.is-fx-in .mk-svc__img img { transform: none; }
.mk-svc__box { position: relative; display: grid; align-items: start; grid-template-columns: calc(360 * var(--u)) 1fr; gap: calc(30 * var(--u)); width: calc(1094 * var(--u)); margin: calc(-172 * var(--u)) 0 0 calc(81 * var(--u)); padding: calc(50 * var(--u)) calc(50 * var(--u)) calc(50 * var(--u)) calc(50 * var(--u)); background: var(--white); }
.mk-svc__title { display: flex; align-items: center; gap: calc(18 * var(--u)); font-weight: 700; font-size: calc(40 * var(--u)); line-height: 1.2; white-space: nowrap; }
.mk-svc__title img { width: auto; height: calc(56 * var(--u)); }
.mk-svc__lead { font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.7; }
.mk-svc__list { margin-top: calc(18 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.mk-svc__list li::before { content: "・"; }

/* CONTACT page */
.contact-page { display: grid; grid-template-columns: 1fr; gap: calc(40 * var(--u)) calc(70 * var(--u)); padding: calc(20 * var(--u)) calc(73 * var(--u)) calc(160 * var(--u)) calc(105 * var(--u)); }
.contact-intro { grid-column: 1; }
.contact-intro__title { font-weight: 700; font-size: calc(30 * var(--u)); line-height: 1.6; }
.contact-intro__text { margin-top: calc(22 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.contact-tel { grid-column: 2; align-self: end; padding: calc(28 * var(--u)) calc(30 * var(--u)); background: var(--gray-bg); }
.contact-tel__label { font-weight: 700; font-size: calc(14 * var(--u)); }
.contact-tel__num { display: inline-block; margin-top: calc(10 * var(--u)); font-family: var(--font-en); font-weight: 700; font-size: calc(32 * var(--u)); line-height: 1.2; letter-spacing: .02em; }
.contact-tel__hours { margin-top: calc(8 * var(--u)); font-weight: 300; font-size: calc(13 * var(--u)); }
.form-steps { grid-column: 1 / -1; display: flex; margin-top: calc(40 * var(--u)); border-bottom: 1px solid #d9d9d9; }
.form-steps li { position: relative; flex: 1; display: flex; align-items: baseline; gap: calc(12 * var(--u)); padding: 0 0 calc(16 * var(--u)); font-weight: 700; font-size: calc(15 * var(--u)); color: #b5b5b5; transition: color .4s; }
.form-steps li span { font-family: var(--font-en); font-size: calc(13 * var(--u)); }
.form-steps li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.77, 0, .18, 1); }
.form-steps li.is-current, .form-steps li.is-done { color: var(--black); }
.form-steps li.is-current::after, .form-steps li.is-done::after { transform: none; }
.cform { grid-column: 1 / -1; }
.cform__note { font-weight: 300; font-size: calc(14 * var(--u)); }
.cform__row { display: grid; grid-template-columns: calc(280 * var(--u)) 1fr; gap: calc(30 * var(--u)); padding: calc(26 * var(--u)) 0; border-bottom: 1px solid #e6e6e6; }
.cform__note + .cform__row { margin-top: calc(20 * var(--u)); border-top: 1px solid #e6e6e6; }
.cform__label { display: flex; align-items: center; gap: calc(12 * var(--u)); padding-top: calc(14 * var(--u)); align-self: start; font-weight: 700; font-size: calc(15 * var(--u)); }
.cform__req { padding: calc(2 * var(--u)) calc(8 * var(--u)); background: var(--black); color: var(--white); font-size: calc(11 * var(--u)); line-height: 1.5; }
.cform input[type="text"], .cform input[type="email"], .cform textarea { display: block; width: 100%; padding: calc(14 * var(--u)) calc(18 * var(--u)); border: 1px solid #cfcfcf; border-radius: 0; background: var(--white); font: inherit; font-weight: 400; font-size: max(16px, calc(15 * var(--u))); line-height: 1.6; color: var(--black); -webkit-appearance: none; appearance: none; transition: border-color .25s, box-shadow .25s; }
.cform textarea { min-height: calc(240 * var(--u)); resize: vertical; }
.cform input::placeholder, .cform textarea::placeholder { color: #aaa; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.cform .is-invalid input, .cform .is-invalid textarea { border-color: #e60012; background: #fff7f7; }
.cform__err { margin-top: calc(8 * var(--u)); font-size: calc(13 * var(--u)); color: #e60012; min-height: 0; }
.cform__err:empty { display: none; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__agree { margin-top: calc(40 * var(--u)); text-align: center; }
.cform__req--opt { background: #fff; color: #777; outline: 1px solid #bbb; outline-offset: -1px; }
.cform__choices { display: grid; grid-template-columns: repeat(2, max-content); gap: calc(16 * var(--u)) calc(48 * var(--u)); padding-top: calc(12 * var(--u)); }
.cform__hint { margin-top: calc(12 * var(--u)); color: #777; font-weight: 300; font-size: calc(13 * var(--u)); }
.cform__check { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); cursor: pointer; font-size: calc(15 * var(--u)); }
.cform__check input { position: relative; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid #999; border-radius: 0; background: var(--white); -webkit-appearance: none; appearance: none; cursor: pointer; }
.cform__check input:checked { background: var(--black); border-color: var(--black); }
.cform__check input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cform [hidden] { display: none !important; }   /* 種別・採用で隠す欄を確実に非表示にする */
.cform__check--radio input { border-radius: 50%; }
.cform__check--radio input:checked { background: var(--white); border-color: var(--black); }
.cform__check--radio input:checked::after { left: 5px; top: 5px; width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--black); transform: none; }
.cform__choices--kind { grid-template-columns: repeat(3, max-content); }
.cform__note--sales { margin-top: calc(8 * var(--u)); color: #555; }
.cform .is-invalid .cform__choices input { border-color: #e60012; }
.cform__check input:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.cform__check a { text-decoration: underline; text-underline-offset: 3px; }
.cform__check a:hover { text-decoration: none; }
.cform__btns { display: flex; justify-content: center; gap: calc(24 * var(--u)); margin-top: calc(50 * var(--u)); }
.cform__btns--two { flex-direction: row; }
.cform button.btn-read { font-family: inherit; cursor: pointer; }
.cform button.btn-read:disabled { opacity: .5; cursor: wait; }
.btn-back { display: inline-flex; align-items: center; justify-content: center; width: calc(260 * var(--u)); height: calc(52 * var(--u)); border: 1px solid var(--black); background: var(--white); font: inherit; font-weight: 700; font-size: calc(16 * var(--u)); color: var(--black); cursor: pointer; transition: background-color .3s, color .3s; }
.btn-back:hover, .btn-back:focus-visible { background: var(--black); color: var(--white); }
.cform__review { margin-top: calc(20 * var(--u)); border-top: 1px solid #e6e6e6; }
.cform__review div { display: grid; grid-template-columns: calc(280 * var(--u)) 1fr; gap: calc(30 * var(--u)); padding: calc(24 * var(--u)) 0; border-bottom: 1px solid #e6e6e6; }
.cform__review dt { font-weight: 700; font-size: calc(15 * var(--u)); }
.cform__review dd { font-weight: 300; font-size: calc(15 * var(--u)); line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.cform__send-err { margin-top: calc(30 * var(--u)); padding: calc(16 * var(--u)) calc(20 * var(--u)); border: 1px solid #e60012; color: #e60012; font-size: calc(14 * var(--u)); line-height: 1.8; }
.cform__send-err a { text-decoration: underline; }
.cform__done { padding: calc(40 * var(--u)) 0 0; text-align: center; outline: none; }
.cform__done-title { font-weight: 700; font-size: calc(30 * var(--u)); line-height: 1.6; }
.cform__done-text { margin-top: calc(24 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.cform__input, .cform__confirm, .cform__done { animation: cfIn .6s cubic-bezier(.22, 1, .36, 1); }
@keyframes cfIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* COMPLIANCE page */
.page-hero--nomark::before { display: none; }
.page-hero--nomark .page-hero__head .sec-head__ja { margin-left: calc(4 * var(--u)); }
.compliance-page { max-width: calc(1000 * var(--u)); margin: 0 auto; padding: calc(10 * var(--u)) 0 calc(160 * var(--u)); }
.compliance__lead { margin-top: 0; font-size: calc(16 * var(--u)); }
.compliance__list { margin-top: calc(44 * var(--u)); border-top: 1px solid #e6e6e6; }
.compliance__list li { padding-top: calc(28 * var(--u)); padding-bottom: calc(28 * var(--u)); border-bottom: 1px solid #e6e6e6; }
.compliance__list li + li { margin-top: 0; }
.compliance__list li::before { top: calc(30 * var(--u)); }
.compliance__sign { margin-top: calc(50 * var(--u)); text-align: right; font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2; }

/* PRIVACY page */
.policy__num { margin-top: calc(34 * var(--u)); counter-reset: pnum; font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.policy__num li { position: relative; padding: calc(22 * var(--u)) 0; border-bottom: 1px solid #e6e6e6; counter-increment: pnum; }
.policy__num li:first-child { border-top: 1px solid #e6e6e6; }
.policy__num li::before { display: none; content: counter(pnum, decimal); position: absolute; left: 0; top: calc(22 * var(--u)); font-family: var(--font-en); font-weight: 700; font-size: calc(15 * var(--u)); }
.policy__items { margin-top: calc(24 * var(--u)); border-top: 1px solid #e6e6e6; }
.policy__item { display: grid; grid-template-columns: calc(280 * var(--u)) 1fr; gap: calc(40 * var(--u)); padding: calc(30 * var(--u)) 0; border-bottom: 1px solid #e6e6e6; }
.policy__item h3 { font-weight: 700; font-size: calc(16 * var(--u)); line-height: 1.7; }
.policy__item > :not(h3) { grid-column: 2; font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.policy__item p + p, .policy__item p + ul { margin-top: calc(10 * var(--u)); }
.policy__item ul li { position: relative; padding-left: 1.1em; }
.policy__item ul li::before { content: ""; position: absolute; left: .15em; top: 1em; width: 6px; height: 6px; background: var(--black); }
.policy a { text-decoration: underline; text-underline-offset: 3px; }
.policy a:hover, .policy a:focus-visible { text-decoration: none; }
.policy__contact { padding: calc(36 * var(--u)) calc(44 * var(--u)); background: var(--gray-bg); }
.policy__contact h2 { font-weight: 700; font-size: calc(18 * var(--u)); }
.policy__contact dl { margin-top: calc(18 * var(--u)); display: grid; gap: calc(6 * var(--u)); font-size: calc(15 * var(--u)); line-height: 1.9; }
.policy__contact dl div { display: grid; grid-template-columns: calc(110 * var(--u)) 1fr; }
.policy__contact dt { font-weight: 700; }
.policy__contact dd { font-weight: 300; }

/* NEWS page */
.news--page { padding-top: calc(10 * var(--u)); padding-bottom: calc(160 * var(--u)); }
.news--page .news__list { margin-top: 0; }

/* DX診断バナー */
.sp-only { display: none; }
.dx-banner { position: relative; display: flex; align-items: center; gap: calc(36 * var(--u)); margin-top: calc(80 * var(--u)); padding: calc(34 * var(--u)) calc(48 * var(--u)); border: 1px solid var(--black); background: var(--white); color: var(--black); overflow: hidden; isolation: isolate; }
.dx-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #f7f3fa; transform: scaleX(0); transform-origin: left center; transition: transform .5s cubic-bezier(.77, 0, .18, 1); }
.dx-banner:hover::before, .dx-banner:focus-visible::before { transform: none; }
.dx-banner__badge { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: calc(92 * var(--u)); height: calc(92 * var(--u)); border-radius: 50%; background: #eeeef8; line-height: 1; }
.dx-banner__badge b { font-weight: 700; font-size: calc(28 * var(--u)); color: #93278f; }
.dx-banner__badge small { margin-top: calc(4 * var(--u)); font-weight: 700; font-size: calc(11 * var(--u)); }
.dx-banner__text { flex: 1; display: block; }
.dx-banner__sub { display: block; font-weight: 400; font-size: calc(14 * var(--u)); color: #555; }
.dx-banner__main { display: block; margin-top: calc(10 * var(--u)); font-weight: 700; font-size: calc(26 * var(--u)); line-height: 1.4; }
.dx-banner__main em { font-style: normal; color: #93278f; }
.dx-banner__tag { display: none; }
.dx-banner__go { flex: none; display: inline-flex; align-items: center; gap: calc(20 * var(--u)); font-weight: 700; font-size: calc(17 * var(--u)); }
.dx-banner__go img { width: calc(70 * var(--u)); filter: invert(1); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.dx-banner:hover .dx-banner__go img { transform: translateX(calc(8 * var(--u))); }

/* RECRUIT page */
.recruit { padding-bottom: calc(160 * var(--u)); }
.recruit-msg { margin-top: calc(40 * var(--u)); padding-left: calc(32 * var(--u)); }
.recruit-msg__title { margin-top: calc(20 * var(--u)); font-weight: 700; font-size: calc(56 * var(--u)); line-height: 1.35; }
.recruit-msg__body { margin-top: calc(40 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.4; }
.recruit-msg__body p + p { margin-top: 1.6em; }
.recruit-msg__lines { font-weight: 700; font-size: calc(20 * var(--u)); line-height: 2.1; }
.recruit .detail-h2 { margin-top: calc(10 * var(--u)); }
.recruit-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(24 * var(--u)); margin-top: calc(40 * var(--u)); }
.recruit-points li { padding: calc(36 * var(--u)) calc(32 * var(--u)); background: var(--gray-bg); }
.recruit-points__en { font-family: var(--font-en); font-weight: 700; font-size: calc(13 * var(--u)); color: #29abe2; text-transform: uppercase; letter-spacing: .06em; }
.recruit-points h3 { margin-top: calc(8 * var(--u)); font-weight: 700; font-size: calc(22 * var(--u)); }
.recruit-points li > p:last-child { margin-top: calc(14 * var(--u)); font-weight: 300; font-size: calc(14 * var(--u)); line-height: 2; }
.recruit-jobs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: calc(40 * var(--u)); }
.recruit-jobs li { position: relative; z-index: 0; margin-left: -1px; padding: calc(36 * var(--u)) calc(26 * var(--u)) calc(40 * var(--u)); border: 1px solid #d9d9d9; background: var(--white); transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease, z-index 0s .6s; }
.recruit-jobs li:hover { z-index: 2; transform: scale(1.03); box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .12); transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease, z-index 0s; }
.recruit-jobs__no { font-family: var(--font-en); font-weight: 700; font-size: calc(14 * var(--u)); color: #29abe2; }
.recruit-jobs__en { margin-top: 0; font-family: var(--font-en); font-weight: 300; font-size: calc(24 * var(--u)); line-height: 1.3; text-transform: uppercase; }
.recruit-jobs h3 { margin-top: calc(10 * var(--u)); font-weight: 700; font-size: calc(15 * var(--u)); line-height: 1.6; }
.recruit-jobs li > p:last-child { margin-top: calc(16 * var(--u)); font-weight: 300; font-size: calc(14 * var(--u)); line-height: 2; }
.recruit-flow { display: flex; gap: calc(40 * var(--u)); margin-top: calc(30 * var(--u)); }
.recruit-flow li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--u)); padding: calc(26 * var(--u)) 0; border: 1px solid var(--black); font-weight: 700; font-size: calc(17 * var(--u)); }
.recruit-flow li span { font-family: var(--font-en); font-size: calc(13 * var(--u)); color: #29abe2; }
.recruit-flow li + li::before { content: ""; position: absolute; left: calc(-28 * var(--u)); top: 50%; width: calc(14 * var(--u)); height: calc(14 * var(--u)); border-top: 2px solid var(--black); border-right: 2px solid var(--black); transform: translateY(-50%) rotate(45deg); }

/* CLOUD page */
.cl-lead { margin-top: calc(90 * var(--u)); text-align: center; }
.cl-lead__text { padding-left: 0; }
.cl-lead__title { font-weight: 700; font-size: calc(36 * var(--u)); line-height: 1.45; }
.cl-lead__body { margin-top: calc(24 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.2; }
.cl-worries { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(10 * var(--u)); margin-top: calc(40 * var(--u)); }
.cl-points { grid-template-columns: repeat(4, 1fr); }
.cl-points li { background: var(--white); border: 1px solid #d9d9d9; }
.cl-points .recruit-points__en { color: #93278f; }
.detail-wrap:has(+ .cl-band) { padding-bottom: calc(120 * var(--u)); }
.cl-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(30 * var(--u)) calc(60 * var(--u)); margin-top: calc(40 * var(--u)); }
.cl-rows li { padding-left: calc(20 * var(--u)); border-left: 3px solid #93278f; }
.cl-rows h3 { font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.5; }
.cl-rows p { margin-top: calc(6 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2; }
.cl-aws { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(14 * var(--u)); margin-top: calc(30 * var(--u)); }
.cl-aws li { display: flex; flex-direction: column; justify-content: center; min-height: calc(90 * var(--u)); padding: calc(14 * var(--u)) calc(20 * var(--u)); border: 1px solid #d9d9d9; }
.cl-aws span { font-family: var(--font-en); font-weight: 600; font-size: calc(17 * var(--u)); line-height: 1.3; }
.cl-aws small { margin-top: calc(6 * var(--u)); font-weight: 300; font-size: calc(13 * var(--u)); color: #555; }
.cl-case { margin-top: calc(30 * var(--u)); padding: calc(44 * var(--u)) calc(50 * var(--u)); background: var(--gray-bg); }
.cl-case + .cl-case { margin-top: calc(20 * var(--u)); }
.cl-case__label { display: inline-block; padding: calc(4 * var(--u)) calc(12 * var(--u)); background: var(--black); color: var(--white); font-weight: 700; font-size: calc(13 * var(--u)); }
.cl-case__title { margin-top: calc(16 * var(--u)); font-weight: 700; font-size: calc(24 * var(--u)); line-height: 1.6; }
.cl-case__text { margin-top: calc(12 * var(--u)); font-weight: 300; font-size: calc(15 * var(--u)); line-height: 2.1; }
.cl-flow { gap: calc(30 * var(--u)); }
.cl-flow li { font-size: calc(15 * var(--u)); padding: calc(22 * var(--u)) 0; }
.cl-flow li + li::before { left: calc(-22 * var(--u)); width: calc(10 * var(--u)); height: calc(10 * var(--u)); }


/* TOP：自社サービス「Shop」バナー */
.shop-bnr { background: var(--white); padding: 0 calc(77 * var(--u)) calc(100 * var(--u)) calc(76 * var(--u)); }
.shop-bnr__link { position: relative; display: flex; align-items: center; min-height: calc(220 * var(--u)); padding: calc(28 * var(--u)) calc(40 * var(--u)) calc(28 * var(--u)) calc(41 * var(--u)); border: 1px solid var(--line); background: var(--white); transition: border-color .4s, box-shadow .5s; }
.shop-bnr__link:hover, .shop-bnr__link:focus-visible { border-color: var(--black); box-shadow: 0 calc(12 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .08); }
.shop-bnr__logo { flex: none; width: calc(178 * var(--u)); height: auto; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.shop-bnr__link:hover .shop-bnr__logo { transform: scale(1.05); }
.shop-bnr__devices { flex: none; width: calc(291 * var(--u)); height: auto; margin: 0 calc(72 * var(--u)) 0 calc(42 * var(--u)); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.shop-bnr__link:hover .shop-bnr__devices { transform: translateY(calc(-4 * var(--u))); }
.shop-bnr__body { display: block; flex: 1; padding-bottom: calc(20 * var(--u)); }
.shop-bnr__title { display: block; font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.5; }
.shop-bnr__nowrap { display: inline-block; }
.shop-bnr__desc { display: block; margin-top: calc(12 * var(--u)); font-size: calc(16 * var(--u)); line-height: 1.7; }
.shop-bnr__go { position: absolute; right: calc(24 * var(--u)); bottom: calc(19 * var(--u)); display: inline-flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(16 * var(--u)); }
.shop-bnr__go svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.shop-bnr__link:hover .shop-bnr__go svg { transform: translate(3px, -3px); }
.shop-bnr--sub { padding: 0; margin: calc(100 * var(--u)) calc(24 * var(--u)) 0; background: none; }

/* レスポンシブ */
@media (max-width: 1024px) {
  :root { --u: 1px; --side: 20px; }
  .sec-head__en { font-size: 40px; }
  .sec-head__mark { width: 20px; height: 20px; margin-left: 10px; }

  .site-header { padding: 22px 20px 16px; align-items: center; }
  .site-header.is-scrolled { padding-top: 14px; padding-bottom: 10px; }
  .nav-open .site-header, .nav-open .site-header.is-scrolled { padding-top: 22px; padding-bottom: 16px; }
  .nav-toggle {
    display: block; position: relative; z-index: 2; flex-shrink: 0;
    width: 40px; height: 40px; margin: -4px -6px -4px 0; padding: 0;
    border: 0; border-radius: 0; background: transparent; color: #000;
    -webkit-appearance: none; appearance: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle svg { display: block; width: 40px; height: 40px; overflow: visible; }
  .nav-toggle path { fill: none; stroke: #000; stroke-width: 2; transform-origin: 20px 20px; transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .l1 { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .l2 { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .l3 { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; padding: 92px 30px 36px; overflow-y: auto;
    background: #0b0b0b; color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0; padding: 0; }
  .global-nav li { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
  .global-nav.is-open li { opacity: 1; transform: none; }
  .global-nav.is-open li:nth-child(1) { transition-delay: .08s; }
  .global-nav.is-open li:nth-child(2) { transition-delay: .14s; }
  .global-nav.is-open li:nth-child(3) { transition-delay: .2s; }
  .global-nav.is-open li:nth-child(4) { transition-delay: .26s; }
  .global-nav.is-open li:nth-child(5), .global-nav.is-open li:nth-child(6), .global-nav.is-open li:nth-child(7) { transition-delay: .32s; }
  .global-nav.is-open li:nth-child(8) { transition-delay: .38s; }
  .global-nav a { font-size: 14px; padding-bottom: 0; color: #fff; }
  .global-nav a::after { display: none; }
  .global-nav li:nth-child(-n+4) { width: 100%; margin-bottom: 22px; }
  .global-nav li:nth-child(-n+4) .gn-en { display: block; font-family: var(--font-en); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
  .global-nav li:nth-child(-n+4) .gn-ja { display: block; margin-top: 8px; font-size: 11px; color: #9a9a9a; }
  .global-nav li:nth-child(-n+4) a::before { content: ""; position: absolute; right: -26px; top: 4px; width: 14px; height: 14px; background: var(--c); transform: rotate(-180deg) scale(0); transition: transform .5s cubic-bezier(.34, 1.4, .5, 1); }
  .global-nav li:nth-child(-n+4) a:hover::before, .global-nav li:nth-child(-n+4) a:active::before, .global-nav li:nth-child(-n+4) a:focus-visible::before, .global-nav li:nth-child(-n+4) a[aria-current="page"]::before { transform: none; }
  .global-nav li:nth-child(n+5):nth-child(-n+7) { margin: 8px 24px 0 0; }
  .global-nav li:nth-child(n+5):nth-child(-n+7) a { color: #ccc; }
  .global-nav li:nth-child(8) { width: 100%; margin-top: 34px; }
  .global-nav li:nth-child(8) a { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 18px; border: 1px solid #fff; overflow: hidden; isolation: isolate; transition: color .3s .1s; }
  .global-nav li:nth-child(8) a::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: #fff; transform: scaleX(0); transform-origin: left center; transition: transform .4s cubic-bezier(.77, 0, .18, 1); }
  .global-nav li:nth-child(8) a:active { color: #000; }
  .global-nav li:nth-child(8) a:active::before { transform: scaleX(1); }
  .global-nav li:nth-child(8) .gn-en { display: block; font-family: var(--font-en); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
  .global-nav li:nth-child(8) .gn-ja { display: none; }
  .global-nav li:nth-child(8) a::after { display: block; content: ""; position: static; width: 44px; height: 11px; background: url(../assets/arrow-white.png) no-repeat center / contain; transform: none; transition: filter .3s .1s; }
  .global-nav li:nth-child(8) a:active::after { filter: invert(1); }
  .global-nav__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #333; opacity: 0; transition: opacity .5s ease; }
  .global-nav.is-open .global-nav__sub { opacity: 1; transition-delay: .45s; }
  .global-nav .global-nav__sub a { font-size: 12px; color: #9a9a9a; }
  .global-nav .global-nav__note { display: inline-flex; align-items: center; }
  .global-nav__note img { width: 32px; margin-right: 7px; filter: invert(1) brightness(.62); }
  .global-nav__note span { line-height: 1; text-box: trim-both cap alphabetic; }
  .global-nav__note .ic-ext { width: 11px; height: 11px; margin-left: 5px; }
  .global-nav__x .x-logo { width: 13px; height: 13px; margin-right: 6px; flex: none; }
  .nav-open .site-header__logo img { content: url(../assets/logo-white.png); }
  .nav-open .nav-toggle path { stroke: #fff; }
  .nav-open .site-header::before { opacity: 0; }

  .hero { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 96px 20px 86px; }
  .hero__cubes { --w: min(175vw, calc(50svh * 1231 / 693)); position: relative; left: auto; top: auto; flex-shrink: 0; align-self: flex-start; width: var(--w); max-width: none; margin-left: calc(48.5vw - 20px - var(--w) * .283); }
  .hero__logo { position: relative; left: auto; top: auto; width: min(82vw, 440px); margin-top: 4%; }
  .hero__copy { position: relative; right: auto; top: auto; align-self: flex-end; margin-top: 52px; }
  .hero__copy-en { font-size: 20px; }
  .hero__copy-ja { font-size: 13px; }

  .about { height: auto; padding: 40px 20px 50px; }
  .about__body { margin-top: 40px; padding: 0; font-size: 15px; line-height: 2; }
  .about__lead { font-size: 18px; }
  .about__btn, .case__btn, .company__btn { position: relative; right: auto; top: auto; bottom: auto; display: flex; margin: 30px 0 0 auto; }
  .case__item .case__btn { align-self: flex-end; margin-top: 0; }

  .concept { flex-direction: column; padding: 60px 20px; gap: 30px; min-height: 0; }
  .concept__text { width: auto; }
  .concept__title { width: auto; font-size: 20px; line-height: 1.8; }
  .concept__text p:not(.concept__title) { line-height: 2.2; }
  .concept__text p + p { margin-top: 20px; }
  .concept__catch { margin-top: 0; }
  .concept__catch-b { font-size: 36px; }
  .concept__catch-l { font-size: 48px; }

  .service { padding: 0; }
  .service__pin { padding: 76px 0 24px 20px; }
  .service .sec-lead, .case .sec-lead { margin: 20px 20px 0 0; }
  .service__slider { padding-left: 20px; margin-top: 10px; }
  .service-card { width: min(78vw, 420px); height: min(calc(100svh - 230px), 118vw, 520px); }
  .service-card > a { padding: 100px 0 0 20px; }
  .service-card__en { width: auto; font-size: 22px; padding-right: 20px; }
  .service-card__icon--web, .service-card__icon--web.is-white { width: 110px; }
  .service-card__icon--dx, .service-card__icon--dx.is-white { width: 145px; left: -33px; top: -13px; }
  .service-card__icon--system, .service-card__icon--system.is-white { width: 140px; left: -24px; }
  .service-card__icon--marketing, .service-card__icon--marketing.is-white { width: 145px; left: -32px; top: -13px; }
  .service-card__icon--cloud, .service-card__icon--cloud.is-white { width: 130px; left: -26px; top: -6px; }

  .case { padding: 0; }
  .case__pin { padding: 76px 20px 24px; }
  .case__slider { margin: 28px -20px 0 0; }
  .case__list { gap: 20px; padding-right: 20px; }
  .case__item { flex-direction: column; gap: 16px; width: calc(100vw - 40px); }
  .case__desc { margin-top: 12px; font-size: 13px; line-height: 1.8; }
  .case__client { font-size: 17px; }
  .case__img { width: 100%; }
  .case__tags { flex-wrap: wrap; }
  .case__tags li { width: auto; padding: 0 10px; font-size: 12px; }

  .company { height: auto; padding: 60px 20px; }
  .company__squares { width: 90px; top: 150px; }
  .company__body { position: relative; left: auto; top: auto; z-index: 1; margin: 46px 0 0 54px; }
  .company__philosophy { font-size: min(10vw, 64px); line-height: 1.25; margin: 0; white-space: nowrap; }
  .company__text { margin: 20px 0 0; font-size: 16px; }

  .news { padding: 60px 20px; }
  .news__list { margin: 30px 0 0; }
  .news__item { flex-direction: column; align-items: flex-start; padding: 14px 16px; }

  .contact__link { height: auto; padding: 50px 20px 80px; }
  .contact__text { margin: 24px 0 0; }
  .contact__arrow { left: auto; right: 20px; top: auto; bottom: 30px; }

  .site-footer { height: auto; padding: 40px 20px 84px; }
  .site-footer__logo img { width: 150px; }
  .site-footer__nav { position: static; margin-top: 30px; }
  .site-footer__nav ul { flex-wrap: wrap; gap: 12px 20px; }
  .site-footer__bottom { position: static; margin-top: 30px; flex-wrap: wrap; justify-content: flex-start; gap: 14px 22px; }
  .site-footer__copy { width: 100%; }
  .site-footer__note img { width: 32px; margin-right: 7px; }
  .site-footer__note .ic-ext { width: 11px; height: 11px; margin-left: 5px; }
  .site-footer__x .x-logo { width: 13px; height: 13px; margin-right: 6px; }
  .site-footer__privacy { font-size: 12px; }
  .site-footer__copy { font-size: 12px; }
  .btn-pagetop { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .btn-pagetop img { width: 26px; }
}

@media (min-width: 700px) and (max-width: 1024px) {
  .case__item { display: grid; grid-template-columns: 52% 1fr; grid-template-rows: auto 1fr; column-gap: 28px; row-gap: 20px; }
  .case__img { width: 100%; grid-row: 1 / 3; align-self: start; }
  .case__info { padding-top: 0; }
  .case__item .case__btn { grid-column: 2; justify-self: end; align-self: end; margin: 0; }
}

@media (max-width: 1024px) {
  .page-hero { padding: 76px 20px 40px; }
  .page-hero::before { top: 112px; width: 70px; height: 76px; }
  .breadcrumb { font-size: 12px; }
  .breadcrumb ol { flex-wrap: nowrap; gap: 10px; }
  .breadcrumb li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .breadcrumb li + li::before { margin-right: 10px; }
  .page-hero__head { margin: 40px 0 0 12px; }
  .page-hero__head .sec-head__ja { margin: 12px 0 0 50px; }
  .sub-layout { display: block; padding: 10px 20px 90px; }
  .local-nav { position: sticky; top: 52px; z-index: 20; margin: 0 -20px 44px; padding: 10px 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .local-nav ul { position: static; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .local-nav ul::-webkit-scrollbar { display: none; }
  .local-nav li { flex-shrink: 0; }
  .local-nav a { padding: 7px 14px; border: 1px solid var(--line); background: var(--white); font-size: 13px; opacity: 1 !important; transition: background .3s, color .3s, border-color .3s; }
  .local-nav a.is-current { background: var(--black); border-color: var(--black); color: var(--white); }
  .sub-sec { scroll-margin-top: 120px; }
  .local-nav a::before, .local-nav a::after { display: none; }
  .sub-sec + .sub-sec { margin-top: 80px; }
  .sub-sec__label { font-size: 13px; }
  .sub-sec__title { font-size: 19px; line-height: 1.7; }
  .sub-sec__body { font-size: 14px; line-height: 2.1; }
  .sub-figure { margin-top: 40px; width: 100%; }
  .strength-list { grid-template-columns: 1fr; gap: 16px; }
  .strength-card { aspect-ratio: auto; padding: 32px 24px; }
  .strength-card__en { font-size: 12px; }
  .strength-card__ja { font-size: 26px; }
  .strength-card__text { font-size: 14px; margin-top: 16px; }
}
@media (min-width: 700px) and (max-width: 1024px) {
  .strength-list { grid-template-columns: repeat(3, 1fr); }
  .strength-card { padding: 28px 18px; }
}

@media (max-width: 1024px) {
  .sub-wide { padding: 10px 20px 90px; }
  .sub-lead__text { font-size: min(5.6vw, 30px); }
  .sub-lead__text em { font-size: min(6.6vw, 36px); }
  .service-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 50px; }
  .service-grid .service-card { width: auto; height: auto; aspect-ratio: 1 / .78; }
  .sub-more { margin-top: 50px; }
  .btn-read--wide { width: 100%; max-width: 420px; padding: 0 20px 0 24px; }
}
@media (min-width: 700px) and (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .page-hero--detail::before { top: 104px; width: 26px; height: 26px; }
  .page-hero__cat { left: 12px; top: 106px; font-size: 15px; }
  .page-hero--detail .page-hero__head { margin-top: 30px; }
  .page-hero--detail .sec-head__en { font-size: min(9vw, 44px); }
  .page-hero__ja { font-size: 16px; }
  .detail-kv { height: auto; aspect-ratio: 16 / 9; }
  .detail-wrap { padding: 0 20px; }
  .detail-sec { margin-top: 80px; }
  .detail-h2 { font-size: 22px; }
  .detail-lead { flex-direction: column-reverse; margin-top: 40px; }
  .detail-lead__img { width: 100%; height: auto; }
  .detail-lead__box { position: static; width: auto; padding: 24px 0 0; background: none; }
  .detail-lead__box::before { display: none; }
/* 白い枠が文字と一緒に左から入ってくる */
.detail-lead.fx-ready .detail-lead__box { clip-path: inset(0 100% 0 0); transform: translateX(calc(-40 * var(--u))); }
.detail-lead.is-fx-in .detail-lead__box { clip-path: inset(0 0 0 0); transform: none; transition: clip-path .9s cubic-bezier(.77, 0, .18, 1) .15s, transform 1s cubic-bezier(.22, 1, .36, 1) .15s; }
  .detail-lead__title { font-size: min(6.4vw, 30px); }
  .detail-lead__text { font-size: 14px; line-height: 2; }
  .menu-cards { gap: 14px; }
  .menu-card { width: 100%; min-height: 0; padding: 20px 20px 24px; }
  .menu-card__icon { height: 64px; }
  .menu-card__title { font-size: 18px; }
  .menu-card__text { font-size: 14px; }
  .detail-catch { font-size: min(5.6vw, 28px); }
  .detail-catch em { font-size: min(7vw, 36px); }
  .worries__body { flex-direction: column; gap: 20px; margin-top: 24px; }
  .worries__img { width: 100%; margin: 0; }
  .worries__list { width: 100%; }
  .worries__list li { padding: 12px 16px; }
  .worries__list strong { font-size: 16px; }
  .worries__list span { font-size: 13px; }
  .vision { padding-top: 40px; min-height: 0; }
  .vision__mark { width: 60vw; right: -20px; top: 0; }
  .vision.is-fx-in .vision__mark { opacity: .35; }
  .vision__title { font-size: min(7vw, 34px); }
  .vision__text { width: auto; }
  .policy-list li { padding: 16px 18px; }
  .policy-list__head { font-size: 15px; }
  .policy-list__head span { font-size: 20px; }
  .policy-list li p:not(.policy-list__head) { font-size: 14px; }
  .faq__item summary { padding: 16px 44px 16px 16px; font-size: 14px; }
  .faq__item summary::after { right: 18px; width: 8px; height: 8px; }
  .faq__a { padding: 4px 16px 20px 16px; font-size: 13px; }
  .detail-cta { margin-top: 80px; text-align: left; }
  .detail-cta__title { font-size: 18px; }
  .detail-cta__text { font-size: 14px; }
  .detail-cta__btns { justify-content: stretch; gap: 14px; margin-top: 30px; }
  .other-svc { padding: 0 0 40px; }
  .other-svc__pin { padding: 60px 0 40px 20px; }
  .other-svc__back { display: none; }
  .other-svc__list { padding: 30px 0 0; gap: 0; }
  .other-svc__list .service-card { width: min(78vw, 360px); height: min(78vw, 360px); }
}
@media (min-width: 700px) and (max-width: 1024px) {
  .menu-card { width: calc(50% - 7px); }
}

@media (max-width: 1024px) {
  .intro-blocks { margin-top: 50px; }
  .intro-blocks__row { flex-direction: column-reverse; gap: 24px; }
  .intro-blocks__row:first-child { margin-bottom: 0; }
  .intro-blocks__row--half, .intro-blocks__row--full { margin-top: 56px !important; }
  .intro-blocks__text { width: auto; padding: 0 !important; }
  .intro-blocks__title { font-size: min(6vw, 28px); }
  .intro-blocks__body { font-size: 14px; line-height: 2; }
  .intro-blocks__img { width: 100%; height: auto; aspect-ratio: 545 / 420; }
  .works-strip { padding: 50px 0; }
  .works-strip img { width: 180vw; margin-left: -40vw; }
  .gray-band { padding: 50px 0 56px; }
  .svc-rows { gap: 26px; margin-top: 24px; }
  .svc-rows li { grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
  .svc-rows img { height: 40px; max-width: 48px; }
  .svc-rows h3 { font-size: 18px; }
  .svc-rows p { font-size: 14px; line-height: 1.9; }
  .flow { gap: 34px; margin-top: 24px; }
  .flow__step { grid-template-columns: 1fr; gap: 8px; }
  .flow__step::before, .flow__step::after { display: none; }
  .flow__head { display: flex; align-items: center; gap: 12px; }
  .flow__no { padding: 6px 12px; font-size: 13px; }
  .flow__name { margin: 0; padding: 0; font-size: 16px; }
  .flow__name br { display: none; }
  .flow__tasks li, .flow__out li, .flow__out-ttl { font-size: 13px; }
  .flow__tasks li { padding: 9px 12px; }
  .flow__tasks span { font-size: 11px; }
  .flow__out { padding: 10px 12px 14px; }
}
@media (max-width: 1024px) {
  .company__squares--page { width: 70px; top: 60px; }
  .philosophy__title { margin-top: 20px; font-size: min(10vw, 56px); }
  .philosophy__body { margin-top: 36px; font-size: 15px; line-height: 2.2; }
  .logo-about__mark { margin: 40px 0; }
  .logo-about__mark { gap: 6px; }
  .logo-about__blocks { width: 52px; }
  .logo-about__mark img { width: min(62vw, 270px); }
  .motto li { padding-left: 34px; }
  .motto li + li { margin-top: 28px; }
  .motto li::before, .motto__title { font-size: 16px; }
  .motto p { font-size: 14px; }
  .ceo { flex-direction: column; gap: 24px; margin-top: 28px; }
  .ceo__photo { width: 160px; }
  .ceo__name { font-size: 18px; }
  .ceo__role, .ceo__bio { font-size: 14px; }
  .outline { font-size: 14px; }
  .outline th, .outline td { padding: 12px 14px; }
  .outline th { width: 96px; }
  .outline__addr { flex-direction: column; gap: 6px; }
  .outline__map { aspect-ratio: 4 / 3; }
}
@media (max-width: 1024px) {
  .case-page { padding: 10px 20px 90px; }
  .case-filter { gap: 8px; }
  .case-filter__btn { min-width: 0; flex: 1 1 calc(50% - 4px); padding: 6px 4px; font-size: 13px; }
  .case-grid { grid-template-columns: 1fr; gap: 44px; margin-top: 30px; }
  .btn-view.case-card__view { min-width: 0; height: 24px; gap: 6px; padding: 0 6px 0 8px; font-size: 11px; }
  .btn-view.case-card__view svg { width: 13px; height: 13px; }
  .case-card__title { margin-top: 8px; font-size: 16px; }
  .case-card__tasks, .case-card__date { font-size: 12px; }
  .case-empty { font-size: 14px; }
  .clients { margin-top: 90px; }
  .clients__title { font-size: 18px; }
  .clients__logos { justify-content: center; gap: 22px 26px; margin-top: 24px; }
  .clients__logos li { min-height: 44px; }
  .clients__logos img { width: calc(var(--w) * .5px); }
}
@media (min-width: 700px) and (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
  .case-filter__btn { flex: 0 1 auto; min-width: 130px; }
}
@media (max-width: 1024px) {
  .page-hero--case .page-hero__head { margin-top: 44px; }
  .page-hero--case .case-hero__client { font-size: 16px; }
  .page-hero--case .sec-head__en { font-size: min(26px, 7.2vw); }
  .case-hero__lead { margin-top: 12px; font-size: 15px; line-height: 1.8; }
  .detail-kv--case { height: auto; }
  .ic-ext { width: 12px; height: 12px; margin-left: 5px; }
  .case-detail { padding: 0 20px; }
  .case-meta { flex-direction: column; align-items: stretch; gap: 24px; margin-top: 36px; }
  .case-meta__list { font-size: 13px; line-height: 1.9; gap: 8px; }
  .case-meta__list div { grid-template-columns: 80px 1fr; }
  .btn-view { align-self: flex-end; min-width: 140px; height: 40px; gap: 14px; padding: 0 10px 0 12px; font-size: 13px; }
  .btn-view svg { width: 18px; height: 18px; }
  .case-sec { margin-top: 70px; }
  .case-sec__title { font-size: 20px; }
  .case-sec__body { margin: 16px 0 0; font-size: 14px; line-height: 2; }
  .case-points { grid-template-columns: 1fr; gap: 36px; }
  .case-points__list { margin: 20px 0 0; }
  .case-points__list li + li { margin-top: 24px; }
  .case-points__list h3 { font-size: 15px; }
  .case-points__list h3 span { width: 30px; font-size: 13px; }
  .case-points__list p { font-size: 14px; line-height: 2; }
  .case-points__figs { gap: 14px; }
  .case-points__figs figure { padding: 12px; }
  .case-shots { margin-top: 70px; }
  .case-shots__device { width: 100%; }
  .case-shots__pages { gap: 12px; margin-top: 50px; }
  .case-shots__pages li { width: calc((100% - 24px) / 3); box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
  .case-shots__pages--2 { gap: 16px; }
  .case-shots__pages--wide { gap: 20px; }
  .case-shots__pages--wide li { width: 100%; }
  .case-shots__pages--2 li { width: calc((100% - 16px) / 2); }
  .case-shots__more { margin-top: 30px; }
  .case-system { margin-top: 30px; }
  .case-system__item { grid-template-columns: 1fr; row-gap: 24px; padding: 0; }
  .case-system__item + .case-system__item { margin-top: 56px; }
  .case-system__title { font-size: 18px; }
  .case-system__text p { margin-top: 12px; font-size: 14px; line-height: 2; }
  .case-system__img { width: min(calc(var(--w) * .8px), 76%); }
  .case-system__diagram { width: 100%; margin: 24px 0 0; }
  .case-system__diagram .hscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .case-system__diagram img { width: 640px; max-width: none; }
  .case-system__screen { width: auto; margin: 70px 0 0; }
  .case-system__screen + .case-system__screen { margin-top: 56px; }
  .case-system__screen figure { margin-top: 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
  .case-back-wrap { margin-top: 60px; padding-bottom: 90px; }
  .case-back { width: 100px; height: 48px; }
  .case-back img { width: 48px; }
}
@media (max-width: 1024px) {
  .about__body br { display: none; }
  .page-hero::before { top: calc(var(--sq-c, 150px) - 38px); }
  .page-hero--detail::before { top: calc(var(--sq-c, 117px) - 13px); }
  .detail-kv--case { aspect-ratio: 1400 / 644; }
  .detail-kv--case img { top: 0; height: 100%; }
}
@media (max-width: 1024px) {
  .intro-blocks__row.sys-lead { flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .sys-lead .intro-blocks__img { width: 100%; }
  .dev-icons { grid-template-columns: repeat(4, 1fr); gap: 28px 8px; margin: 28px 0 64px; }
  .dev-icons li { gap: 10px; }
  .dev-icons img { height: 50px; }
  .dev-icons span { font-size: 11px; letter-spacing: -.02em; word-break: keep-all; }
  .lang-logos { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
  .lang-logos li { height: 56px; }
  .lang-logos img { max-height: 36px; }
  .can-do__en { font-size: 15px; }
  .can-do__title { font-size: min(6vw, 24px); }
  .can-do__list { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
  .can-do__list li { min-height: 0; padding: 16px 8px; }
  .can-do__list h3 { font-size: 15px; }
  .can-do__list p { font-size: 12px; }
}
@media (min-width: 700px) and (max-width: 1024px) {
  .dev-icons { grid-template-columns: repeat(8, 1fr); }
  .lang-logos { grid-template-columns: repeat(5, 1fr); }
  .can-do__list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .mk-catch { margin-top: 60px; }
  .mk-catch__title { font-size: min(5.3vw, 26px); }
  .mk-catch__img { margin-top: 16px; }
  .mk-catch__text { font-size: 14px; line-height: 2; }
  .mk-catch__text br { display: none; }
  .mk-svc { margin-top: 24px; }
  .mk-svc + .mk-svc { margin-top: 44px; }
  .mk-svc__img { height: auto; aspect-ratio: 16 / 9; }
  .mk-svc__box { display: block; width: auto; margin: -40px 0 0 20px; padding: 24px 0 0 20px; }
  .mk-svc__title { gap: 12px; font-size: 26px; }
  .mk-svc__title img { height: 38px; }
  .mk-svc__body { margin-top: 18px; }
  .mk-svc__lead { font-size: 16px; }
  .mk-svc__lead br { display: none; }
  .mk-svc__list { margin-top: 12px; font-size: 14px; line-height: 2; }
}
@media (max-width: 1024px) {
  .contact-page { display: block; padding: 10px 20px 90px; }
  .contact-intro__title { font-size: min(5.6vw, 24px); }
  .contact-intro__text { font-size: 14px; line-height: 2; }
  .contact-tel { margin-top: 30px; padding: 22px 20px; text-align: center; }
  .contact-tel__label { font-size: 13px; }
  .contact-tel__num { font-size: 28px; }
  .contact-tel__hours { font-size: 12px; }
  .form-steps { margin: 44px 0 30px; }
  .form-steps li { flex-direction: column; gap: 2px; align-items: center; padding-bottom: 12px; font-size: 13px; }
  .form-steps li span { font-size: 11px; }
  .cform__note { font-size: 13px; }
  .cform__row, .cform__review div { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .cform__label { padding-top: 0; font-size: 14px; }
  .cform__req { font-size: 10px; }
  .cform input[type="text"], .cform input[type="email"], .cform textarea { padding: 12px 14px; font-size: 16px; }
  .cform textarea { min-height: 200px; }
  .cform__err { font-size: 12px; }
  .cform__agree { margin-top: 30px; }
  .cform__check { font-size: 14px; }
  .cform__choices, .cform__choices--kind { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
  .cform__hint { margin-top: 10px; font-size: 12px; }
  .cform__btns { flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }
  .cform__btns--two { flex-direction: column-reverse; }
  .btn-back { width: 100%; max-width: 420px; height: 52px; font-size: 15px; }
  .cform__review dt, .cform__review dd { font-size: 14px; }
  .cform__done-title { font-size: 20px; }
  .cform__done-text { font-size: 14px; line-height: 2; text-align: left; }
  .cform__done-text br { display: none; }
}
@media (max-width: 1024px) {
  .compliance-page { max-width: none; padding: 0 20px 90px; }
  .page-hero--nomark .page-hero__head .sec-head__ja { margin-left: 2px; }
  .compliance__lead { font-size: 15px; }
  .compliance__list { margin-top: 28px; }
  .compliance__list li { padding-top: 20px; padding-bottom: 20px; }
  .compliance__list li::before { top: 22px; }
  .compliance__sign { margin-top: 36px; font-size: 14px; }
}
@media (max-width: 1024px) {
  .policy__num { margin-top: 24px; font-size: 14px; line-height: 2; }
  .policy__num li { padding: 18px 0; }
  .policy__num li::before { top: 18px; font-size: 13px; }
  .policy__item { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .policy__item h3 { font-size: 15px; }
  .policy__item > :not(h3) { grid-column: 1; font-size: 14px; line-height: 2; }
  .policy__contact { padding: 24px 20px; }
  .policy__contact h2 { font-size: 16px; }
  .policy__contact dl { font-size: 14px; }
  .policy__contact dl div { grid-template-columns: 70px 1fr; }
}
@media (max-width: 1024px) {
  .news--page { padding: 0 20px 90px; }
}
@media (max-width: 1024px) {
  .sp-only { display: inline; }
  .dx-banner { display: block; margin-top: 50px; padding: 22px 20px 20px; }
  .dx-banner__badge { display: none; }
  .dx-banner__sub { font-size: 12px; }
  .dx-banner__main { margin-top: 10px; font-size: min(5.4vw, 22px); line-height: 1.5; }
  .dx-banner--long .dx-banner__main { font-size: min(4.5vw, 22px); }
  .dx-banner__tag { display: inline-block; margin-top: 14px; padding: 6px 10px; background: #eeeef8; color: #93278f; font-weight: 700; font-size: 12px; line-height: 1; }
  .dx-banner__go { position: absolute; right: 20px; bottom: 20px; gap: 14px; font-size: 15px; }
  .dx-banner__go img { width: 52px; }
}
@media (min-width: 700px) and (max-width: 1024px) { .sp-only { display: none; } }
@media (max-width: 1024px) {
  .recruit { padding-bottom: 90px; }
  .recruit-msg { margin-top: 20px; padding-left: 0; }
  .recruit-msg__title { font-size: min(9vw, 40px); }
  .recruit-msg__body { margin-top: 28px; font-size: 14px; line-height: 2.1; }
  .recruit-msg__body p:not(.recruit-msg__lines) br { display: none; }
  .recruit-msg__lines { font-size: 16px; line-height: 2; }
  .recruit-points { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .recruit-points li { padding: 24px 20px; }
  .recruit-points__en { font-size: 12px; }
  .recruit-points h3 { font-size: 18px; }
  .recruit-points li > p:last-child { font-size: 14px; }
  .recruit-jobs { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .recruit-jobs li { margin-left: 0; padding: 24px 20px; }
  .recruit-jobs li:hover { transform: none; box-shadow: none; }
  .recruit-jobs__en { margin-top: 0; font-size: 20px; }
  .recruit-jobs h3 { font-size: 15px; }
  .recruit-jobs li > p:last-child { font-size: 14px; }
  .recruit-flow { flex-direction: column; gap: 26px; margin-top: 24px; }
  .recruit-flow li { flex-direction: row; justify-content: center; gap: 12px; padding: 16px 0; font-size: 16px; }
  .recruit-flow li + li::before { left: 50%; top: -20px; width: 10px; height: 10px; transform: translateX(-50%) rotate(135deg); }
}
@media (min-width: 700px) and (max-width: 1024px) {
  .recruit-jobs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .cl-lead { margin-top: 50px; }
  .cl-lead__text { padding-left: 0; }
  .cl-lead__title { font-size: min(7vw, 30px); }
  .cl-lead__body { margin-top: 16px; font-size: 14px; line-height: 2; text-align: left; }
  .cl-worries { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .cl-points { grid-template-columns: 1fr; }
  .detail-wrap:has(+ .cl-band) { padding-bottom: 70px; }
  .cl-rows { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .cl-rows li { padding-left: 14px; }
  .cl-rows h3 { font-size: 17px; }
  .cl-rows p { font-size: 14px; }
  .cl-aws { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; }
  .cl-aws li { min-height: 0; padding: 14px 12px; }
  .cl-aws span { font-size: 14px; }
  .cl-aws small { font-size: 11px; }
  .cl-case { margin-top: 20px; padding: 24px 20px; }
  .cl-case + .cl-case { margin-top: 14px; }
  .cl-case__label { font-size: 12px; }
  .cl-case__title { font-size: 17px; }
  .cl-case__text { font-size: 14px; line-height: 2; }
  .cl-flow { gap: 22px; }
  .cl-flow li { font-size: 15px; padding: 14px 0; }
  .cl-flow li + li::before { left: 50%; top: -17px; width: 9px; height: 9px; }
}
@media (min-width: 700px) and (max-width: 1024px) {
  .cl-points { grid-template-columns: repeat(2, 1fr); }
  .cl-aws { grid-template-columns: repeat(4, 1fr); }
}

/* ニュース：外部リンクのアイコン */
.news__item a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.4em;
  vertical-align: -0.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2h5v5M14 2 7 9M12 10v4H2V4h4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2h5v5M14 2 7 9M12 10v4H2V4h4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Shopバナー（スマホ） */
@media (max-width: 1024px) {
  .shop-bnr { padding: 0 20px 56px; }
  .shop-bnr--sub { padding: 0; margin: 48px 0 0; }
  .shop-bnr__link { flex-direction: column; align-items: flex-start; gap: 16px; min-height: 0; padding: 24px 20px 64px; }
  .shop-bnr__logo { width: 110px; align-self: center; }
  .shop-bnr__devices { width: 100%; max-width: 360px; margin: 0; }
  .shop-bnr__body { padding-bottom: 0; }
  .shop-bnr__title { font-size: 17px; }
  .shop-bnr__desc { margin-top: 10px; font-size: 13px; }
  .shop-bnr__go { right: 20px; bottom: 22px; gap: 6px; font-size: 14px; }
  .shop-bnr__go svg { width: 16px; height: 16px; }
}
