/* コム計画室 企業サイト C案 */
:root {
  --tq: #03B8DF;
  --tq-ink: #05739A;
  --tq-d: #0790C2;
  --blue: #3D7BE8;
  --ink: #2B2F36;
  --ink2: #3A3F47;
  --gray: #6B717B;
  --paper: #F3F5F7;
  --g-main: linear-gradient(160deg, #16C3E8 0%, #05A3D8 46%, #2F74E2 100%);
  --g-deep: linear-gradient(180deg, #067FAE 0%, #2E5FC4 100%);
  --g-tint: linear-gradient(180deg, #E6F7FC 0%, #EEF2FB 100%);
  --g-card: linear-gradient(135deg, #E6F7FC 0%, #ECF0FC 100%);
  --g-cta: linear-gradient(135deg, #F07A1E 0%, #D9480F 100%);
  --jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mr: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --en: "Quicksand", "Zen Maru Gothic", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bar: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink2); font: 500 16px/1.9 var(--jp); letter-spacing: .04em; font-feature-settings: "palt"; padding-bottom: var(--bar); overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[id] { scroll-margin-top: 90px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; position: relative; }
.ln { display: block; white-space: nowrap; }
.ttl, .mv__catch, .cl__t { width: 100%; max-width: 100%; }
.sv__t, .wk__t, .office__t, .co__t { white-space: nowrap; max-width: 100%; }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 20px; transition: transform .5s var(--ease); }
.hd.is-hide { transform: translateY(-120%); }
.hd__in { display: flex; align-items: center; gap: 22px; height: 64px; padding: 0 10px 0 26px; border-radius: 999px; background: rgba(255, 255, 255, .97); transition: box-shadow .35s; }
.hd.is-solid .hd__in { box-shadow: 0 0 0 1px rgba(5, 115, 154, .12); }
.hd__logo { flex: none; width: 214px; }
.hd__logo img { width: 100%; height: auto; }
.hd__nav { display: none; margin-left: auto; gap: 26px; font: 700 15px/1 var(--mr); color: var(--ink); letter-spacing: .06em; }
.hd__nav a { padding: 10px 0; transition: opacity .25s; }
.hd__nav a:hover { opacity: .7; }
.hd__cta { margin-left: auto; display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--g-cta); color: #fff; font: 700 15px/1 var(--mr); letter-spacing: .06em; white-space: nowrap; }
.hd__menu { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 54px; height: 54px; border: 0; border-radius: 999px; background: #E3F5FB; color: var(--tq-ink); cursor: pointer; padding: 0; }
.hd__bars { display: grid; gap: 5px; }
.hd__bars i { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.hd__menu-t { font: 700 12px/1 var(--en); letter-spacing: .02em; }
.hd__menu[aria-expanded="true"] .hd__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.hd__menu[aria-expanded="true"] .hd__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 1200px) {
  .hd__nav { display: flex; }
  .hd__cta { margin-left: 4px; }
  .hd__menu { display: none; }
}
@media (max-width: 640px) {
  .hd { padding: 10px 10px; }
  .hd__in { height: 58px; padding: 0 6px 0 16px; gap: 8px; }
  .hd__logo { width: 158px; }
  .hd__cta { height: 42px; padding: 0 14px; font-size: 13px; }
  .hd__menu { width: 46px; height: 46px; }
}
@media (max-width: 374px) {
  .hd { padding: 8px; }
  .hd__in { padding: 0 4px 0 10px; gap: 6px; }
  .hd__logo { width: 122px; }
  .hd__cta { padding: 0 11px; font-size: 12.5px; height: 40px; }
  .hd__menu { width: 44px; height: 44px; }
}

/* ---------- sp nav ---------- */
.spnav { position: fixed; inset: 0; z-index: 45; background: var(--g-main); color: #fff; padding: 104px 28px 40px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.spnav[hidden] { display: none; }
.spnav__list { display: grid; gap: 4px; }
.spnav__list a { display: flex; align-items: baseline; gap: 14px; padding: 12px 4px; font: 900 24px/1.4 var(--mr); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.spnav__en { width: 74px; flex: none; font: 700 13px/1 var(--en); letter-spacing: .12em; opacity: .85; }

/* ---------- buttons ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 62px; padding: 12px 14px 12px 32px; border-radius: 16px; background: var(--g-cta); background-size: 140% 140%; background-position: 0 0; color: #fff; font: 700 17px/1.4 var(--mr); letter-spacing: .06em; transition: background-position .5s var(--ease), transform .5s var(--ease); }
.cta:hover { background-position: 100% 100%; transform: translateY(-2px); }
.cta > span { white-space: nowrap; }
.cta__arw { width: 38px; height: 38px; padding: 9px; border-radius: 999px; background: #fff; color: #D9480F; flex: none; }
.cta--lg { min-height: 74px; padding-left: 40px; font-size: 19px; }
.cta--wide { width: 100%; justify-content: space-between; }
.more { display: inline-flex; align-items: center; gap: 12px; font: 700 16px/1.4 var(--mr); color: var(--ink); letter-spacing: .06em; }
.more__arw { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--g-main); color: #fff; transition: transform .45s var(--ease); flex: none; }
.more__arw svg { width: 18px; height: 18px; }
.more:hover .more__arw { transform: translateX(4px); }
.more--sm { font-size: 15px; }
.more--sm .more__arw { width: 34px; height: 34px; }
.center { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- MV ---------- */
.mv { position: relative; height: calc(100svh - var(--bar)); min-height: 560px; background: var(--g-main); color: #fff; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.mv__bg { position: absolute; inset: 0; z-index: -1; }
.mv__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: glow 16s ease-in-out infinite alternate; }
.mv__glow--1 { width: 52vmax; height: 52vmax; left: -16vmax; top: -14vmax; background: radial-gradient(circle, #6FE6CF 0%, rgba(111, 230, 207, 0) 70%); }
.mv__glow--2 { width: 46vmax; height: 46vmax; right: -14vmax; top: 6vmax; background: radial-gradient(circle, #8A8CF4 0%, rgba(138, 140, 244, 0) 70%); animation-duration: 19s; animation-delay: -6s; }
.mv__glow--3 { width: 40vmax; height: 40vmax; left: 24vw; bottom: -22vmax; background: radial-gradient(circle, #9BEAFB 0%, rgba(155, 234, 251, 0) 70%); animation-duration: 22s; animation-delay: -10s; }
@keyframes glow { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(6vw, 4vh) scale(1.12); } }
.mv__center { position: relative; z-index: 2; text-align: center; padding: 70px 20px 40px; display: flex; flex-direction: column; align-items: center; }
.mv__egg { width: clamp(78px, 14vh, 150px); overflow: visible; }
.mv__egg-fill { fill: #fff; opacity: 0; }
.mv__egg-line { fill: none; stroke: #fff; stroke-width: 60; stroke-dasharray: 100; stroke-dashoffset: 100; }
.mv__en { margin-top: clamp(18px, 3vh, 30px); font: 700 clamp(14px, 1.5vw, 21px)/1.3 var(--en); letter-spacing: .12em; opacity: 0; white-space: nowrap; }
.mv__catch { margin-top: clamp(14px, 2.4vh, 24px); font: 900 clamp(30px, min(6.2vw, 10.4vh), 92px)/1.32 var(--mr); letter-spacing: .05em; color: #fff; }
.mv__catch .ln > span { display: inline-block; clip-path: inset(0 100% 0 0); transform: translateY(.28em); }
.is-ready .mv__egg-line { animation: eggline 1.5s var(--ease) .25s forwards, eggfade .8s ease 1.5s forwards; }
.is-ready .mv__egg-fill { animation: eggfill 1.1s var(--ease) 1.05s forwards; }
.is-ready .mv__en { animation: fadein 1.2s var(--ease) 1.35s forwards; }
.is-ready .mv__catch .ln > span { animation: wipe 1.2s var(--ease) forwards; animation-delay: 1.6s; }
.is-ready .mv__catch .ln:nth-child(2) > span { animation-delay: 1.95s; }
@keyframes eggline { to { stroke-dashoffset: 0; } }
@keyframes eggfade { to { opacity: 0; } }
@keyframes eggfill { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); transform: none; } }
.mv__dd { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ddf { position: absolute; width: var(--w, 88px); opacity: 0; }
.is-ready .ddf { animation: ddin 1.4s var(--ease) forwards, float var(--fd, 6s) ease-in-out infinite alternate; animation-delay: var(--dl, 2s), calc(var(--dl, 2s) + 1.4s); }
@keyframes ddin { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes float { from { opacity: 1; transform: translateY(0); } to { opacity: 1; transform: translateY(-14px); } }
.ddf--1 { left: 6%; top: 17%; --w: 92px; --dl: 2.2s; --fd: 5.5s; }
.ddf--2 { left: 10%; top: 70%; --w: 84px; --dl: 2.5s; --fd: 6.4s; }
.ddf--3 { left: 2.5%; top: 44%; --w: 90px; --dl: 2.8s; --fd: 7s; }
.ddf--4 { right: 5%; top: 18%; --w: 98px; --dl: 2.35s; --fd: 6s; }
.ddf--5 { right: 9%; top: 71%; --w: 96px; --dl: 2.65s; --fd: 5.8s; }
.ddf--6 { right: 2.5%; top: 45%; --w: 110px; --dl: 2.95s; --fd: 6.8s; }
.ddf--7 { left: 22%; top: 82%; --w: 80px; --dl: 3.1s; --fd: 6.2s; }
.ddf--8 { right: 24%; top: 11%; --w: 52px; --dl: 3.25s; --fd: 5s; }
.mv__scroll { position: absolute; z-index: 3; left: 50%; bottom: 74px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 700 12px/1 var(--en); letter-spacing: .2em; color: #fff; }
.mv__scroll i { width: 2px; height: 46px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; border-radius: 2px; }
.mv__scroll i::after { content: ""; position: absolute; left: 0; top: -46px; width: 2px; height: 46px; background: #fff; animation: scrollline 2.2s var(--ease) infinite; }
@keyframes scrollline { to { top: 46px; } }

/* 雲の形の境目（上の段へふくらむ） */
.cloud { --c: #fff; position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; z-index: 1;
  background:
    radial-gradient(circle at 50% 100%, var(--c) 0 58px, transparent 59px) 30px 100% / 170px 64px repeat-x,
    radial-gradient(circle at 50% 100%, var(--c) 0 40px, transparent 41px) 115px 100% / 170px 44px repeat-x; }
.cloud--mv { bottom: -1px; }
.cloud--top { top: -63px; }
.service > .cloud { --c: #E6F7FC; }
.works > .cloud { --c: #fff; }
.recruit > .cloud { --c: #067FAE; }
.ft > .cloud { --c: #2B2F36; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 120px 0 128px; }
.sec--white { background: #fff; }
.sec--tint { background: var(--g-tint); }
.sec--gray { background: var(--paper); }
.head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 64px; }
.lab { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lab__en { display: inline-block; padding: .42em 1.3em .4em; border-radius: 999px; background: linear-gradient(90deg, #D6F3FB, #DEE7FC); color: var(--tq-ink); font: 700 15px/1 var(--en); letter-spacing: .16em; text-transform: uppercase; }
.lab__ja { font: 700 15px/1.4 var(--mr); color: var(--ink); letter-spacing: .1em; }
.lab--w .lab__en { background: rgba(255, 255, 255, .18); color: #fff; }
.lab--w .lab__ja { color: #fff; }
.ttl { margin-top: 24px; font: 900 clamp(26px, 3.2vw, 44px)/1.5 var(--mr); color: var(--ink); letter-spacing: .05em; }
.ttl--big { font-size: clamp(28px, 3.6vw, 48px); }
.ttl--w { color: #fff; }
.head__lead { margin-top: 26px; font-size: 16px; line-height: 2; color: var(--ink2); }
.head__lead .ln { white-space: normal; }
.txt { text-align: justify; text-justify: inter-character; line-break: strict; }
.phr { word-break: keep-all; overflow-wrap: anywhere; }
.nw { white-space: nowrap; }

/* blob（イラストの下のやわらかい形） */
.blob { position: absolute; inset: 6% 4% 2% 4%; z-index: 0; border-radius: 58% 42% 52% 48% / 52% 56% 44% 48%; animation: morph 14s ease-in-out infinite alternate; }
@keyframes morph { 0% { border-radius: 58% 42% 52% 48% / 52% 56% 44% 48%; transform: scale(1); } 100% { border-radius: 44% 56% 46% 54% / 58% 44% 56% 42%; transform: scale(1.04); } }
.blob--sky { background: linear-gradient(135deg, #CDEFFA, #E0E8FD); }
.blob--coral { background: linear-gradient(135deg, #FFE0D7, #D6F3FB); }
.blob--yellow { background: linear-gradient(135deg, #FFEFC2, #D6F3FB); }
.blob--blue { background: linear-gradient(135deg, #D8E4FF, #D6F3FB); }
.blob--mint { background: linear-gradient(135deg, #CFF3E6, #D6F3FB); }
.blob--violet { background: linear-gradient(135deg, #E5DEFF, #D6F3FB); }
.dds { position: absolute; width: 64px; z-index: 2; pointer-events: none; }

/* ---------- about ---------- */
.about { padding-top: 96px; }
.about__grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 64px; align-items: center; }
.about__fig { position: relative; padding: 4% 2%; }
.about__fig img { position: relative; z-index: 1; width: 100%; }
.about__txt .lab { align-items: flex-start; }
.about__txt .txt { margin-top: 28px; }
.about__more { margin-top: 36px; }
.dds--a1 { left: -8px; top: -28px; width: 70px; }
.dds--a2 { left: 40%; bottom: -16px; width: 60px; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 96px; }
.num { background: var(--g-card); border-radius: 28px; padding: 36px 24px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.num__ico { width: 84px; height: 84px; object-fit: contain; }
.num__lab { margin-top: 14px; font: 900 20px/1.4 var(--mr); color: var(--ink); letter-spacing: .1em; }
.num__val { margin-top: 6px; display: flex; align-items: baseline; justify-content: center; gap: 6px; color: var(--tq-ink); }
.num__val b { font: 700 clamp(48px, 5vw, 64px)/1.1 var(--en); letter-spacing: 0; }
.num__val span { font: 900 20px/1 var(--mr); color: var(--ink); }
.num__note { margin-top: 10px; font-size: 14px; color: var(--ink2); }

/* ---------- service ---------- */
.flow { margin: 0 auto 104px; max-width: 1120px; }
.flow__cap { text-align: center; font: 900 22px/1.4 var(--mr); color: var(--ink); margin-bottom: 26px; letter-spacing: .08em; }
.flow__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px; }
.flow__step { position: relative; background: #fff; border-radius: 24px; padding: 26px 20px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.flow__step img { width: 104px; height: 88px; object-fit: contain; }
.flow__no { margin-top: 12px; font: 700 15px/1 var(--en); color: var(--tq-ink); letter-spacing: .12em; }
.flow__t { margin-top: 8px; font: 900 19px/1.4 var(--mr); color: var(--ink); }
.flow__d { margin-top: 10px; font-size: 14.5px; line-height: 1.8; text-align: center; text-wrap: balance; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -36px; width: 28px; height: 28px; transform: translateY(-50%); background: var(--tq); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 7l5 5-5 5' fill='none' stroke='%23000' stroke-width='2.6' 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 24 24'%3E%3Cpath d='M5 12h13M13 7l5 5-5 5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.svs { display: grid; gap: 96px; }
.sv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sv:nth-child(even) .sv__art { order: 2; }
.sv__art { position: relative; padding: 5% 4%; }
.sv__art img { position: relative; z-index: 1; width: 100%; }
.sv__no { display: flex; align-items: baseline; gap: 14px; font: 700 16px/1 var(--en); color: var(--tq-ink); letter-spacing: .14em; text-transform: uppercase; }
.sv__no b { font: 700 64px/1 var(--en); letter-spacing: 0; color: var(--tq); }
.sv__t { margin-top: 16px; font: 900 clamp(22px, 2.3vw, 30px)/1.5 var(--mr); color: var(--ink); letter-spacing: .04em; }
.sv__lead { margin-top: 14px; font: 700 17px/1.8 var(--mr); color: var(--ink2); }
.sv__list { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16em), 1fr)); gap: 12px 24px; background: rgba(255, 255, 255, .85); border-radius: 20px; padding: 22px 26px; }
.sv__list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.sv__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--tq); }

/* ---------- works ---------- */
.wk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.wk__card { background: var(--g-card); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.wk__art { padding: 26px 28px 6px; }
.wk__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .8s var(--ease); }
.wk__card:hover .wk__art img { transform: scale(1.04); }
.wk__body { padding: 14px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.wk__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 5px 10px 4px; border-radius: 4px; background: #fff; color: var(--tq-ink); font: 700 13px/1.4 var(--jp); letter-spacing: .06em; }
.tag--s { background: #CDEFF9; color: #04607F; }
.wk__t { margin-top: 14px; font: 900 21px/1.5 var(--mr); color: var(--ink); }
.wk__d { margin-top: 10px; font-size: 15px; line-height: 1.85; text-align: justify; text-justify: inter-character; }
.wk__body .more { margin-top: auto; padding-top: 22px; align-self: center; }
.cl { margin-top: 88px; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 48px; align-items: center; background: var(--g-card); border-radius: 32px; padding: 52px 56px; }
.cl__head { display: flex; flex-direction: column; align-items: flex-start; }
.cl__ico { width: 92px; height: 92px; object-fit: contain; }
.cl__en { margin-top: 14px; font: 700 15px/1 var(--en); letter-spacing: .16em; color: var(--tq-ink); text-transform: uppercase; }
.cl__t { margin-top: 12px; font: 900 clamp(22px, 2.3vw, 30px)/1.55 var(--mr); color: var(--ink); }
.cl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cl__list li { background: #fff; border-radius: 18px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.cl__no { grid-row: span 2; font: 700 17px/1 var(--en); color: var(--tq); }
.cl__list b { font: 900 17px/1.5 var(--mr); color: var(--ink); }
.cl__list li span:last-child { font-size: 13.5px; line-height: 1.7; color: var(--ink2); }

/* ---------- news ---------- */
.news > .cloud { --c: #F3F5F7; }
.news__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 880px; margin-inline: auto; }
.news__ig { width: 100%; max-width: 540px; margin-inline: auto; }
.nr { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #fff; border-radius: 22px; padding: 18px 26px 18px 18px; transition: transform .5s var(--ease); }
.nr:hover { transform: translateY(-3px); }
.nr__thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--g-main); }
.nr__thumb svg { width: 40px; fill: #fff; }
.nr__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nr__cat { align-self: flex-start; padding: 3px 10px 2px; border-radius: 4px; background: #E3F5FB; color: var(--tq-ink); font: 700 13px/1.4 var(--jp); }
.nr__t { font: 900 18px/1.5 var(--mr); color: var(--ink); }
.nr__ex { font-size: 14px; line-height: 1.75; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nr__go { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1 var(--mr); color: var(--ink); white-space: nowrap; }
.nr__go .more__arw { width: 34px; height: 34px; }
.sns { display: flex; gap: 14px; margin-top: 28px; justify-content: center; }
.sns__a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: #fff; font: 700 15px/1 var(--en); color: var(--ink); letter-spacing: .06em; }
.sns__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; font: 700 17px/1 Arial, sans-serif; }
.sns__ico--fb { background: #1877F2; }
.sns__ico--ig { background: radial-gradient(circle at 30% 110%, #FEDA75 0, #FA7E1E 25%, #D62976 55%, #962FBF 75%, #4F5BD5 100%); position: relative; }
.sns__ico--ig::after { content: ""; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; }
.news__ig { background: #fff; border-radius: 22px; padding: 18px 18px 14px; }
.news__ig-cap { display: flex; align-items: center; gap: 10px; font: 900 15px/1.5 var(--mr); color: var(--ink); margin-bottom: 12px; }
.news__ig-cap img { width: 40px; height: 40px; object-fit: contain; }
.igem { position: relative; width: 100%; }
.igem::before { content: ""; display: block; padding-top: calc(66.67% + 170px); }
.igem iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* ---------- recruit ---------- */
.recruit { background: var(--g-deep); color: #fff; }
.recruit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.recruit__art { position: relative; padding: 6% 5%; }
.recruit__plate { position: absolute; inset: 4% 2% 0; background: #fff; border-radius: 56% 44% 50% 50% / 52% 54% 46% 48%; animation: morph 15s ease-in-out infinite alternate; }
.recruit__art img { position: relative; z-index: 1; width: 100%; }
.recruit__txt .lab { align-items: flex-start; }
.recruit__jobs { margin-top: 30px; display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; background: rgba(255, 255, 255, .12); border-radius: 20px; padding: 22px 26px; }
.recruit__jobs dt { font: 700 14px/1.8 var(--mr); color: #CFF1FB; letter-spacing: .08em; }
.recruit__jobs dd { font: 700 17px/1.7 var(--mr); }
.recruit__cta { margin-top: 36px; }

/* ---------- contact ---------- */
.contact__box { position: relative; max-width: 960px; margin: 0 auto; background: #fff; border-radius: 36px; padding: 54px 56px 58px; text-align: center; }
.contact__tels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tel { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border-radius: 22px; background: var(--g-card); }
.tel__w { font: 900 16px/1.4 var(--mr); color: var(--ink); }
.tel__n { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(28px, 3vw, 36px)/1.1 var(--en); color: var(--tq-ink); letter-spacing: .02em; }
.tel__n svg { width: 28px; height: 28px; color: var(--tq); }
.contact__cta { margin-top: 36px; display: flex; justify-content: center; }
.dds--c1 { left: -26px; top: -30px; width: 76px; }
.dds--c2 { right: -22px; bottom: -26px; width: 70px; }

/* ---------- company / access ---------- */
.co { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
.co__t { font: 900 26px/1.5 var(--mr); color: var(--ink); }
.co__list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 20px 4px; border-bottom: 1px solid #DDE3EA; }
.co__list > div:first-child { padding-top: 4px; }
.co__list dt { font: 700 15.5px/1.8 var(--mr); color: var(--ink); }
.co__list dd { font-size: 15.5px; line-height: 1.85; color: var(--ink2); }
.offices { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.office { background: var(--g-card); border-radius: 28px; padding: 36px 34px 34px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.office__ico { width: 64px; height: 64px; object-fit: contain; }
.office__en { margin-top: 10px; font: 700 14px/1 var(--en); letter-spacing: .2em; color: var(--tq-ink); text-transform: uppercase; }
.office__t { margin-top: 8px; font: 900 22px/1.5 var(--mr); color: var(--ink); }
.office__addr { margin-top: 12px; font-size: 15.5px; line-height: 1.85; }
.office__tel { margin-top: 6px; font-size: 14.5px; color: var(--ink2); }
.office .more { margin-top: 20px; }

/* ---------- footer ---------- */
.ft { position: relative; background: #2B2F36; color: #fff; padding: 80px 0 36px; margin-top: 64px; }
.ft__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.ft__logo { display: inline-block; background: #fff; border-radius: 999px; padding: 16px 28px; }
.ft__logo img { width: 250px; }
.ft__brand p { margin-top: 18px; font-size: 14px; line-height: 1.9; color: #D5DAE1; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; font: 700 15px/1.6 var(--mr); }
.ft__nav a:hover { opacity: .7; }
.ft__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #C7CDD5; }
.ft__links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- sp bar ---------- */
.spbar { display: none; }
@media (max-width: 640px) {
  :root { --bar: calc(62px + env(safe-area-inset-bottom)); }
  .spbar { display: grid; grid-template-columns: 1fr 1.25fr; position: fixed; inset: auto 0 0; z-index: 40; height: var(--bar); padding-bottom: env(safe-area-inset-bottom); background: #fff; transition: transform .5s var(--ease); }
  .spbar.is-hide { transform: translateY(100%); }
  .spbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1 var(--mr); letter-spacing: .06em; }
  .spbar__tel { color: var(--tq-ink); background: #E8F7FC; }
  .spbar__tel svg { width: 20px; height: 20px; }
  .spbar__cta { background: var(--g-cta); color: #fff; }
}

/* ---------- reveal ---------- */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 1.3s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.js [data-rv="pop"] { transform: translateY(22px) scale(.94); }
.js [data-rv="wipe"] { opacity: 1; transform: none; }
.js [data-rv="wipe"] .ln, .js h3[data-rv="wipe"] { clip-path: inset(0 100% 0 0); transform: translateY(.3em); transition: clip-path 1.2s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.js [data-rv="wipe"] .ln:nth-child(2) { transition-delay: calc(var(--d, 0s) + .22s); }
.js [data-rv].is-in { opacity: 1; transform: none; }
.js [data-rv="wipe"].is-in .ln, .js h3[data-rv="wipe"].is-in { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .about__grid, .sv, .recruit__grid, .news__grid, .cl, .co { grid-template-columns: minmax(0, 1fr); }
  .about__grid { gap: 40px; }
  .about__fig { max-width: 560px; margin-inline: auto; width: 100%; }
  .sv { gap: 28px; }
  .sv:nth-child(even) .sv__art { order: 0; }
  .sv__art { max-width: 560px; margin-inline: auto; width: 100%; }
  .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step:nth-child(2)::after { display: none; }
  .wk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news__grid { gap: 32px; }
  .news__ig { max-width: 540px; width: 100%; margin-inline: auto; }
  .recruit__art { max-width: 520px; margin-inline: auto; width: 100%; }
  .co { gap: 20px; }
  .ft__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .sec { padding: 92px 0 96px; }
  .head { margin-bottom: 44px; }
  .ttl { margin-top: 18px; }
  .lab__en { font-size: 14px; }
  .head__lead .ln { display: inline; }
  .head__lead { text-align: justify; text-justify: inter-character; }

  .mv { min-height: 520px; }
  .mv__center { padding: 64px 20px 56px; }
  .mv__catch { font-size: clamp(28px, 9.6vw, 42px); }
  .mv__en { font-size: 15px; line-height: 1.5; }
  .mv__en-l { display: block; }
  .ddf--3, .ddf--7, .ddf--8 { display: none; }
  .ddf--1 { left: 5%; top: 14%; --w: 58px; }
  .ddf--4 { right: 5%; top: 15%; --w: 62px; }
  .ddf--2 { left: 7%; top: 76%; --w: 56px; }
  .ddf--5 { right: 7%; top: 76%; --w: 62px; }
  .ddf--6 { right: 39%; top: 82%; --w: 64px; }
  .mv__scroll { display: none; }

  .about__txt { text-align: left; }
  .about__txt .lab { align-items: center; }
  .about__txt .ttl { text-align: center; }
  .about__more { display: flex; justify-content: center; }
  .dds--a1 { width: 52px; top: -18px; left: 4px; }
  .dds--a2 { display: none; }
  .nums { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 64px; }
  .num { padding: 28px 20px; }

  .flow { margin-bottom: 72px; }
  .flow__list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .flow__step { padding: 22px 22px 24px; }
  .flow__step::after { display: block !important; }
  .flow__step:last-child::after { display: none !important; }
  .flow__step:not(:last-child)::after { top: auto; bottom: -34px; right: auto; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .flow__d { text-align: center; }
  .svs { gap: 72px; }
  .sv__txt { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .sv__no b { font-size: 52px; }
  .sv__list { grid-template-columns: minmax(0, 1fr); text-align: left; width: 100%; padding: 20px 22px; }

  .wk { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wk__body { text-align: center; }
  .wk__tags { justify-content: center; }
  .cl { padding: 36px 20px 24px; gap: 26px; margin-top: 64px; }
  .cl__head { align-items: center; text-align: center; }
  .cl__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  .nr { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .nr__go { grid-column: 1 / -1; justify-self: center; padding: 4px 0 2px; }
  .nr__t { font-size: 16.5px; }
  .news__ig { padding: 14px 12px 10px; }
  .sns { flex-direction: column; }
  .sns__a { justify-content: center; }

  .recruit__txt { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .recruit__txt .lab { align-items: center; }
  .recruit__jobs { grid-template-columns: minmax(0, 1fr); gap: 4px; text-align: center; width: 100%; padding: 20px 18px; }
  .recruit__jobs dd + dt { margin-top: 10px; }
  .recruit__cta, .contact__cta, .center { width: 100%; }
  .cta { width: 100%; justify-content: space-between; padding-left: 24px; }
  .cta--lg { min-height: 66px; font-size: 17px; }

  .contact__box { padding: 34px 18px 30px; border-radius: 28px; }
  .contact__tels { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dds--c1 { left: -8px; top: -26px; width: 56px; }
  .dds--c2 { right: -8px; bottom: -22px; width: 52px; }

  .co__t { text-align: center; }
  .co__list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 2px; }
  .offices { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 52px; }
  .office { padding: 30px 20px 28px; }

  .ft { padding-top: 64px; }
  .ft__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .ft__logo { padding: 14px 24px; }
  .ft__logo img { width: 210px; }
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
  .ft__bottom { flex-direction: column; align-items: center; text-align: center; }
  .ft__links { justify-content: center; }
}

/* 動きを減らす設定（.shot は撮影用に最後の状態で止める） */
.rm *, .rm *::before, .rm *::after, .shot *, .shot *::before, .shot *::after { animation: none !important; transition: none !important; }
.rm [data-rv], .rm [data-rv] .ln, .rm h3[data-rv], .shot [data-rv], .shot [data-rv] .ln, .shot h3[data-rv] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.rm .mv__egg-fill, .rm .mv__en, .rm .ddf, .shot .mv__egg-fill, .shot .mv__en, .shot .ddf { opacity: 1 !important; }
.rm .mv__egg-line, .shot .mv__egg-line { display: none; }
.rm .mv__catch .ln > span, .shot .mv__catch .ln > span { clip-path: none !important; transform: none !important; }
