/* コム計画室 企業サイト A案 */
:root {
  --brand: #03B8DF;        /* ロゴの卵の色 */
  --brand-ink: #047A9E;    /* 文字に使うターコイズ（白地で読める濃さ） */
  --deep: #04607E;
  --tint: #E6F7FC;
  --tint2: #D2F0F9;
  --ink: #172033;
  --ink2: #3A4256;
  --ink3: #6B7486;
  --orange: #E8660C;
  --orange-d: #CF5603;
  --gut: clamp(20px, 5vw, 72px);
  --hd-h: 64px;
  --en: "Outfit", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-weight: 500;
  font-size: 16px; line-height: 1.9; letter-spacing: .04em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
section[id] { scroll-margin-top: 90px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gut); }
.en { font-family: var(--en); }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px clamp(12px, 2.4vw, 32px) 0; will-change: transform; }
.hd__bar {
  display: flex; align-items: center; gap: 22px; height: var(--hd-h);
  padding: 0 8px 0 26px; border-radius: 999px;
  transition: background-color .35s, box-shadow .35s;
}
.hd.is-scrolled .hd__bar, .hd.is-open .hd__bar { background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(3, 184, 223, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hd__logo { flex: none; }
.hd__logo img { height: 28px; width: auto; }
.hd__nav { display: flex; gap: clamp(18px, 2vw, 32px); margin-left: auto; font-size: 15px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.hd__nav a { position: relative; padding: 6px 0; transition: color .25s; }
.hd__nav a:hover { color: var(--brand-ink); }
.hd__cta {
  flex: none; display: inline-flex; align-items: center; height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .06em;
  transition: background-color .25s;
}
.hd__cta:hover { background: var(--orange-d); }
.hd__menu {
  display: none; flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; cursor: pointer; position: relative;
  font: 600 10px/1 var(--en); letter-spacing: .08em;
}
.hd__menu-bars, .hd__menu-bars::before { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: #fff; border-radius: 2px; transition: transform .3s; }
.hd__menu-bars { top: 18px; }
.hd__menu-bars::before { content: ""; top: 6px; left: 0; margin: 0; }
.hd__menu-txt { position: absolute; left: 0; right: 0; bottom: 13px; text-align: center; }
.hd.is-open .hd__menu-bars { transform: translateY(3px) rotate(45deg); }
.hd.is-open .hd__menu-bars::before { transform: translateY(-6px) rotate(-90deg); }

.spnav {
  position: fixed; inset: 0; z-index: 45; background: #fff; overflow-y: auto;
  padding: 110px var(--gut) calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.spnav[hidden] { display: none; }
.spnav__list { width: min(100%, 420px); display: grid; }
.spnav__list a { display: flex; flex-direction: column; align-items: center; padding: 14px 0; font-size: 20px; font-weight: 700; }
.spnav__list a + a { border-top: 1px solid #DCE8EE; }
.spnav__list .en { font-size: 13px; font-weight: 600; color: var(--brand-ink); letter-spacing: .1em; line-height: 1.4; }

/* ---------- ボタン（このサイトの形：角丸の四角＋白い丸の矢印） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 280px; min-height: 64px;
  padding: 0 14px 0 32px; border-radius: 14px; font-weight: 700; font-size: 17px; letter-spacing: .06em;
  transition: background-color .25s, transform .25s var(--ease);
}
.btn > span { flex: 1; text-align: center; }
.btn--main { background: var(--orange); color: #fff; }
.btn--main:hover { background: var(--orange-d); }
.btn--lg { min-width: 340px; min-height: 72px; font-size: 18px; }
.btn__arw { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; position: relative; transition: transform .3s var(--ease); }
.btn__arw::before, .lnk__arw::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M7.5 2.5 12 7l-4.5 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 14 14'%3E%3Cpath d='M1 7h11M7.5 2.5 12 7l-4.5 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--main .btn__arw { color: var(--orange); }
.btn:hover .btn__arw, .lnk:hover .lnk__arw { transform: translateX(4px); }
.lnk { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; color: var(--ink); }
.lnk__arw { flex: none; width: 40px; height: 40px; border-radius: 50%; position: relative; color: var(--brand-ink); box-shadow: inset 0 0 0 2px var(--brand-ink); transition: transform .3s var(--ease); }
.more { display: flex; justify-content: center; margin-top: 52px; }

/* ---------- MV ---------- */
.mv { position: relative; height: max(620px, 100svh); overflow: hidden; background: #fff; }
.mv__fx { position: absolute; left: 0; top: 0; width: 100%; height: max(620px, 100svh); }
.mv__copy { position: absolute; z-index: 2; left: var(--gut); top: 50%; transform: translateY(-46%); }
.mv__en { font: 600 clamp(16px, 1.3vw, 20px)/1.4 var(--en); color: var(--brand-ink); letter-spacing: .08em; margin-bottom: clamp(14px, 2vh, 24px); }
.mv__catch {
  font-size: clamp(40px, min(5.3vw, 9.2vh), 88px); font-weight: 700; line-height: 1.3; letter-spacing: .03em;
  font-feature-settings: "palt"; color: var(--ink);
}
.mv__catch .ln { display: block; white-space: nowrap; }
.mv__catch .ln--b { color: var(--brand-ink); }
.mv__lead { margin-top: clamp(18px, 3vh, 32px); font-size: clamp(15px, 1.2vw, 18px); font-weight: 700; line-height: 1.9; color: var(--ink2); }
.mv__en > span, .mv__catch .ln > span, .mv__lead > span {
  display: inline-block; opacity: 0; transform: translateY(.4em); clip-path: inset(-10% 100% -20% 0);
  animation: wipeIn 1.2s var(--ease) forwards;
}
.mv__en > span { animation-delay: .5s; }
.mv__catch .ln:nth-child(1) > span { animation-delay: .75s; }
.mv__catch .ln:nth-child(2) > span { animation-delay: 1.05s; }
.mv__catch .ln:nth-child(3) > span { animation-delay: 1.35s; }
.mv__lead > span { animation-delay: 1.9s; }
@keyframes wipeIn { to { opacity: 1; transform: none; clip-path: inset(-10% -2% -20% 0); } }
.mv__scroll {
  position: absolute; z-index: 2; left: var(--gut); bottom: 28px; display: flex; align-items: center; gap: 14px;
  font: 600 13px/1 var(--en); letter-spacing: .16em; color: var(--ink2);
}
.mv__scroll::after { content: ""; width: 64px; height: 2px; background: linear-gradient(90deg, var(--brand) 50%, #CFEFF8 50%); background-size: 200% 100%; animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- 段の共通 ---------- */
.sec { padding-block: clamp(88px, 10vw, 150px); position: relative; }
.sec--white { background: #fff; }
.sec--tint { background: var(--tint); }
.sec--deep { background: var(--deep); color: #fff; }
.sh { margin-bottom: clamp(40px, 5vw, 64px); }
.sh--center { text-align: center; }
.sh__en { font: 600 15px/1.4 var(--en); color: var(--brand-ink); letter-spacing: .14em; white-space: pre; }
.sh__ja { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink2); letter-spacing: .1em; }
.sh__title { margin-top: 18px; font-size: clamp(26px, 3.3vw, 46px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; font-feature-settings: "palt"; }
.sh__title .ln { display: block; white-space: nowrap; }
.sh__lead { max-width: 760px; margin: 24px auto 0; text-align: justify; color: var(--ink2); }
.sh__lead--c { text-align: center; font-size: 17px; font-weight: 700; color: var(--brand-ink); }
.sh__lead--c .ln { display: inline-block; }
.sec--deep .sh__en { color: #9BE3F5; }
.sec--deep .sh__ja { color: #D6F3FB; }

.concept__body > *, .clients > *, .news__grid > *, .recruit__grid > *, .story > *, .svc__item > *, .ft__grid > * { min-width: 0; }

/* ---------- コンセプト ---------- */
.concept__body { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.concept__fig { border-radius: 28px; overflow: hidden; background: var(--tint); aspect-ratio: 4 / 3; }
.concept__fig img { width: 100%; height: 100%; object-fit: cover; }
.concept__list { display: grid; gap: 8px; }
.concept__list li { display: grid; grid-template-columns: 62px 1fr; column-gap: 16px; padding: 18px 0; }
.concept__no { grid-row: span 2; font: 600 44px/1 var(--en); color: var(--brand-ink); letter-spacing: 0; padding-top: 2px; }
.concept__list h3 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.5; margin-bottom: 8px; font-feature-settings: "palt"; }
.concept__list p { text-align: justify; color: var(--ink2); font-size: 15.5px; }

.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(72px, 8vw, 110px); }
.num { position: relative; background: var(--tint); border-radius: 26px; padding: 30px 30px 32px; min-height: 250px; overflow: hidden; }
.num__tag { display: inline-block; padding: 4px 12px; border-radius: 4px; background: #fff; color: var(--brand-ink); font-size: 14px; font-weight: 700; line-height: 1.6; }
.num__ico { position: absolute; top: 18px; right: 20px; width: 92px; height: 92px; object-fit: contain; }
.num__val { margin-top: 54px; display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.num__val b { font: 600 clamp(58px, 6vw, 84px)/1 var(--en); color: var(--brand-ink); letter-spacing: -.01em; }
.num__val span { font-size: 22px; font-weight: 700; }
.num__val--word { font-size: clamp(38px, 3.8vw, 54px); font-weight: 700; color: var(--brand-ink); font-feature-settings: "palt"; letter-spacing: .02em; }
.num__note { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--ink2); line-height: 1.6; }

/* ---------- 事業 ---------- */
.svc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.svc__item { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; }
.svc__item--wide { grid-column: span 3; }
.svc__fig { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.svc__item--wide .svc__fig { aspect-ratio: 16 / 10; }
.svc__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__item:hover .svc__fig img { transform: scale(1.04); }
.svc__txt { padding: 6px 30px 34px; }
.svc__en { font: 600 15px/1.4 var(--en); color: var(--brand-ink); letter-spacing: .08em; }
.svc__no { color: var(--ink3); margin-right: 12px; }
.svc__item h3, .story h3, .concept__list h3, .office h3 { word-break: auto-phrase; text-wrap: balance; }
.svc__item h3 { margin: 8px 0 14px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.5; font-feature-settings: "palt"; }
.svc__list { display: grid; gap: 4px; }
.svc__list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.8; color: var(--ink2); }
.svc__list li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- 実績 ---------- */
.stories { display: grid; gap: 36px; padding-bottom: 8px; }
.story {
  position: sticky; top: calc(108px + var(--i) * 26px);
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  min-height: 420px; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: var(--tint);
}
.story__no { font: 600 16px/1 var(--en); color: var(--ink3); letter-spacing: .12em; text-transform: uppercase; }
.story__no b { font-size: 46px; color: var(--brand-ink); margin-left: 8px; letter-spacing: 0; }
.story__who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 4px; background: #fff; color: var(--brand-ink); font-size: 14px; font-weight: 700; line-height: 1.6; }
.tag--sub { background: var(--tint2); color: var(--ink); }
.story h3 { margin: 18px 0 12px; font-size: clamp(22px, 2.3vw, 32px); font-weight: 700; line-height: 1.5; font-feature-settings: "palt"; }
.story__txt p:last-child { text-align: justify; color: var(--ink2); }
.story__fig { border-radius: 20px; overflow: hidden; background: #fff; aspect-ratio: 3 / 2; }
.story__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }

.clients { display: grid; grid-template-columns: .9fr 1.6fr; gap: 48px; align-items: start; margin-top: clamp(96px, 10vw, 140px); }
.clients__title { margin-top: 14px; font-size: clamp(24px, 2.5vw, 34px); font-weight: 700; line-height: 1.55; font-feature-settings: "palt"; }
.clients__title .ln { display: block; white-space: nowrap; }
.clients__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.clients__list li { background: var(--tint); border-radius: 18px; padding: 22px 22px 24px; }
.clients__list b { display: block; font-size: 19px; font-weight: 700; color: var(--brand-ink); line-height: 1.5; }
.clients__list span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.7; color: var(--ink2); }

/* ---------- お知らせ・SNS ---------- */
.news__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.nl__row a { display: grid; grid-template-columns: 168px 1fr 40px; gap: 22px; align-items: center; padding: 16px 20px 16px 16px; border-radius: 20px; background: #fff; }
.nl__thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--tint); }
.nl__thumb img { width: 46px; height: 46px; }
.nl__meta { display: flex; gap: 10px; align-items: center; }
.nl__cat { display: inline-block; padding: 1px 9px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--brand-ink); color: var(--brand-ink); font-size: 13px; font-weight: 700; line-height: 1.7; }
.nl__title { word-break: auto-phrase; text-wrap: balance; overflow-wrap: anywhere; }
.nl__row a > * { min-width: 0; }
.nl__title { display: block; margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.nl__ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--ink2); }
.sns { display: flex; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.sns__link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; background: #fff; font: 600 16px/1 var(--en); letter-spacing: .04em; }
.sns__ico { width: 22px; height: 22px; background: var(--brand-ink); }
.sns__ico--fb { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12a12 12 0 1 0-13.9 11.9v-8.4H7.1V12h3V9.4c0-3 1.8-4.7 4.5-4.7 1.3 0 2.7.2 2.7.2v3h-1.5c-1.5 0-2 .9-2 1.9V12h3.4l-.5 3.5h-2.9v8.4A12 12 0 0 0 24 12z'/%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 24 24'%3E%3Cpath d='M24 12a12 12 0 1 0-13.9 11.9v-8.4H7.1V12h3V9.4c0-3 1.8-4.7 4.5-4.7 1.3 0 2.7.2 2.7.2v3h-1.5c-1.5 0-2 .9-2 1.9V12h3.4l-.5 3.5h-2.9v8.4A12 12 0 0 0 24 12z'/%3E%3C/svg%3E") center/contain no-repeat; }
.sns__ico--ig { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.3'/%3E%3Ccircle cx='17.6' cy='6.4' r='.9' fill='%23000' stroke='none'/%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 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.3'/%3E%3Ccircle cx='17.6' cy='6.4' r='.9' fill='%23000' stroke='none'/%3E%3C/svg%3E") center/contain no-repeat; }
.news__ig-cap { margin-bottom: 18px; text-align: center; font-size: 16px; font-weight: 700; }
.news__ig-cap .ln { display: inline-block; }
.news__ig-cap .en { display: block; font-size: 14px; font-weight: 600; color: var(--brand-ink); letter-spacing: .12em; }
.igem { position: relative; width: 100%; max-width: 500px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #fff; }
.igem::before { content: ""; display: block; padding-top: calc(66.67% + 170px); }
.igem iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 採用 ---------- */
.recruit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.recruit__fig { border-radius: 30px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.recruit__fig img { width: 100%; height: 100%; object-fit: cover; }
.recruit__txt { text-align: center; }
.recruit__txt .sh__title { color: #fff; }
.recruit__lead { margin-top: 22px; font-size: 17px; line-height: 1.9; color: #E2F6FC; }
.recruit__jobs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.recruit__lead .ln { display: inline-block; }
.recruit__jobs li { padding: 7px 16px; border-radius: 4px; background: rgba(255, 255, 255, .16); font-size: 15px; font-weight: 700; line-height: 1.6; }
.recruit__jobs .recruit__etc { padding-inline: 2px; background: none; }
.recruit__cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- お問い合わせ・アクセス ---------- */
.contact__tels { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.tel { display: block; padding: 30px 24px; border-radius: 22px; background: var(--tint); text-align: center; }
.tel__where { display: block; font-size: 15px; font-weight: 700; color: var(--ink2); }
.tel__num { display: block; margin-top: 4px; font: 600 clamp(30px, 3vw, 40px)/1.3 var(--en); color: var(--brand-ink); letter-spacing: .02em; }
.contact__cta { display: flex; justify-content: center; margin-top: 44px; }

.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.office { padding: clamp(28px, 3.5vw, 44px); border-radius: 26px; background: #fff; }
.office__en { font: 600 15px/1.4 var(--en); color: var(--brand-ink); letter-spacing: .12em; }
.office h3 { margin: 6px 0 14px; font-size: 24px; font-weight: 700; line-height: 1.5; }
.office__addr { font-size: 16px; line-height: 1.9; }
.office__tel { margin: 8px 0 20px; font-size: 15px; color: var(--ink2); }

/* ---------- フッター ---------- */
.ft { background: #fff; padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); }
.ft__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.ft__brand img { width: 240px; }
.ft__desc { margin-top: 18px; font-size: 14px; color: var(--ink2); }
.ft__nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: 12px 40px; font-size: 15px; font-weight: 700; }
.ft__nav a:hover { color: var(--brand-ink); }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #DCE8EE; font-size: 13px; color: var(--ink3); }
.ft__links { display: flex; gap: 22px; }
.ft__copy { font-family: var(--en); letter-spacing: .06em; }

/* ---------- スマホの下の固定ボタン ---------- */
.spbar { display: none; }

/* ---------- 動き ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: var(--dl, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.wipe .ln { opacity: 0; transform: translateY(.35em); clip-path: inset(-10% 100% -25% 0); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), clip-path 1.2s var(--ease); }
.wipe .ln:nth-child(2) { transition-delay: .16s; }
.wipe .ln:nth-child(3) { transition-delay: .32s; }
.wipe.is-in .ln { opacity: 1; transform: none; clip-path: inset(-10% -2% -25% 0); }
.bi { opacity: 0; filter: blur(20px); transition: opacity 1.4s ease, filter 1.4s ease; transition-delay: .15s; }
.bi.is-in { opacity: 1; filter: blur(0); }
.bi.is-done { filter: none; }
.no-motion .rv, .no-motion .wipe .ln, .no-motion .bi { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; transition: none !important; }
.no-motion .mv__en > span, .no-motion .mv__catch .ln > span, .no-motion .mv__lead > span { animation: none; opacity: 1; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .wipe .ln, .bi { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; transition: none !important; }
  .mv__en > span, .mv__catch .ln > span, .mv__lead > span { animation: none; opacity: 1; transform: none; clip-path: none; }
  .mv__scroll::after { animation: none; }
}

/* ---------- 幅ごと ---------- */
@media (max-width: 1239px) {
  .hd__nav { display: none; }
  .hd__menu { display: block; }
  .hd__cta { margin-left: auto; }
}
@media (max-width: 1024px) {
  .concept__body { grid-template-columns: 1fr; }
  .concept__fig { max-width: 720px; width: 100%; margin: 0 auto; }
  .nums { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .num { padding: 24px 20px 26px; min-height: 0; }
  .num__ico { width: 68px; height: 68px; top: 14px; right: 12px; }
  .svc { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .svc__item, .svc__item--wide { grid-column: span 1; }
  .svc__item--wide .svc__fig { aspect-ratio: 4 / 3; }
  .svc__item:last-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .svc__item:last-child .svc__txt { padding: 28px 30px; }
  .story { grid-template-columns: 1fr; min-height: 0; }
  .story__fig { order: -1; }
  .clients { grid-template-columns: 1fr; gap: 28px; }
  .clients__head { text-align: center; }
  .clients__list { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr; }
  .news__main .sh { text-align: center; }
  .recruit__grid { grid-template-columns: 1fr; }
  .recruit__fig { max-width: 640px; width: 100%; margin: 0 auto; }
  .ft__grid { grid-template-columns: 1fr; text-align: center; }
  .ft__brand img { margin: 0 auto; }
  .ft__nav { justify-content: center; }
}
@media (max-width: 760px) {
  .story { position: relative; top: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hd { padding: 8px 10px 0; }
  .hd__bar { height: 58px; gap: 10px; padding: 0 5px 0 16px; }
  .hd__logo img { height: 21px; }
  .hd__cta { height: 44px; padding: 0 15px; font-size: 13px; letter-spacing: .02em; }
  .hd__menu { width: 46px; height: 46px; }
  .hd__menu-bars { top: 15px; }
  .hd__menu-txt { bottom: 11px; font-size: 9px; }
  .mv, .mv__fx { height: max(560px, calc(100svh - 64px)); }
  .mv__copy { top: 92px; transform: none; right: var(--gut); }
  .mv__en { font-size: 15px; margin-bottom: 10px; }
  .mv__catch { font-size: clamp(30px, 9.4vw, 40px); line-height: 1.32; }
  .mv__lead { margin-top: 12px; font-size: 13.5px; line-height: 1.75; }
  .mv__scroll { display: none; }
  .sh__title { font-size: clamp(22px, 6.4vw, 27px); }
  .sh__lead { font-size: 15px; }
  .concept__list li { grid-template-columns: 46px 1fr; column-gap: 12px; padding: 14px 0; }
  .concept__no { font-size: 32px; }
  .nums { grid-template-columns: 1fr; gap: 14px; }
  .num { text-align: center; padding: 26px 20px 28px; }
  .num__ico { position: static; margin: 12px auto 0; width: 76px; height: 76px; }
  .num__val { justify-content: center; margin-top: 10px; }
  .svc { grid-template-columns: 1fr; }
  .svc__item:last-child { grid-column: span 1; display: flex; }
  .svc__item:last-child .svc__txt { padding: 6px 24px 30px; }
  .svc__txt { padding: 4px 24px 30px; }
  .story { padding: 22px 20px 28px; border-radius: 24px; }
  .story__no b { font-size: 38px; }
  .clients__list { grid-template-columns: 1fr; }
  .clients__list li { text-align: center; }
  .nl__row a { grid-template-columns: 72px 1fr 36px; gap: 12px; padding: 12px 12px 12px 10px; }
  .nl__title { font-size: 16px; }
  .nl__thumb img { width: 32px; height: 32px; }
  .lnk__arw { width: 36px; height: 36px; }
  .contact__tels { grid-template-columns: 1fr; }
  .btn, .btn--lg { width: 100%; min-width: 0; }
  .offices { grid-template-columns: 1fr; }
  .office { text-align: center; }
  .ft__nav { grid-template-columns: repeat(2, auto); gap: 10px 28px; }
  .ft__bottom { flex-direction: column; }
  .spbar {
    display: grid; grid-template-columns: 1fr 1.5fr; position: fixed; inset: auto 0 0; z-index: 40;
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: #fff; box-shadow: 0 -1px 0 rgba(3, 184, 223, .25); will-change: transform;
  }
  .spbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; }
  .spbar__tel { color: var(--brand-ink); }
  .spbar__ico { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%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 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
  .spbar__cta { background: var(--orange); color: #fff; }
}
@media (max-width: 400px) {
  .nl__row a { grid-template-columns: 1fr 36px; padding: 14px 12px 14px 18px; }
  .nl__thumb { display: none; }
}
@media (max-width: 359px) {
  .hd__bar { gap: 6px; padding-left: 12px; }
  .hd__logo img { height: 16px; }
  .hd__cta { padding: 0 11px; font-size: 12.5px; }
  .hd__menu { width: 44px; height: 44px; }
  .hd__menu-bars { top: 14px; }
}
