/* ============================================================
   AIdea Consulting — Top Page
   Design canvas: 1920px desktop. Fluid clamp() scales down.
   ============================================================ */

@font-face{
  font-family:"Gotham";
  src:url("../fonts/Gotham-Medium.otf") format("opentype");
  font-weight:500; font-style:normal; font-display:swap;
}

:root{
  --u: calc(100vw / 1920); /* 1px of the 1920px design comp */
  --bg:            #000;
  --bg-soft:       #0a0c10;
  --panel:         #0e1116;
  --panel-line:    rgba(255,255,255,.1);
  --fg:            #f3f5f6;
  --fg-dim:        #9aa2ab;
  --fg-faint:      rgba(243,245,246,.45);

  --teal:          #14b3ac;
  --teal-deep:     #0e5c6e;
  --ink-blue:      #123042;

  --splash-pink:   #ff4fa8;
  --splash-blue:   #33c7ff;
  --splash-orange: #ff9a44;
  --splash-green:  #6be38a;
  --splash-yellow: #e3e36b;

  --gradient-brand: linear-gradient(120deg, var(--splash-blue), var(--teal) 45%, var(--splash-pink) 100%);
  --gradient-panel: linear-gradient(180deg, rgba(10,12,16,0) 0%, rgba(5,5,7,.9) 78%, #050507 100%);

  --ease: cubic-bezier(.22,.61,.25,1);
  --expo: cubic-bezier(.19,1,.22,1);
  --swift: cubic-bezier(.77,0,.18,1);
  --dur: .9s;

  --container: 1760px;
  --edge: clamp(24px, 3.2vw, 96px);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ background:var(--bg); scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:"Noto Sans JP","Space Grotesk",system-ui,sans-serif;
  font-weight:300;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,p{ margin:0; }
.en{ font-family:"Space Grotesk",sans-serif; }

/* ---------- scroll-linked reveal ----------
   main.js writes --p (0→1) as the group's leading element rises from 92% to 30% down the viewport,
   eased so the motion trails the scroll slightly. Scrolling back plays it in reverse.
   Each element runs over its own slice of that: from --o for --len, smoothstepped into --e.
   data-reveal         fade up
   data-reveal="lines" each line slides up out of its own mask (main.js wraps the lines)
   data-reveal="line"  a rule draws across          data-reveal="draw"  an SVG line draws itself
   data-reveal="card"  tilts up out of the page      data-reveal="right" slides in from the right
   data-reveal="wipe"  a panel opens from the bottom
   data-reveal="stagger" list items rise one by one data-reveal="rule"  its top border draws across
   data-reveal="group" no motion of its own; it drives its data-reveal-with followers */
[data-reveal]{
  --p:0; --o:0; --len:.45;
  --t:clamp(0, (var(--p) - var(--o)) / var(--len), 1);
  --e:calc(var(--t) * var(--t) * (3 - 2 * var(--t)));
}
[data-reveal=""]{
  opacity:var(--e);
  transform:translateY(calc((1 - var(--e)) * 60 * var(--u)));
}

/* the mask is a clip-path rather than overflow + padding/negative margins, so splitting
   text into lines never changes its layout */
.ln{ display:block; clip-path:inset(-.5em -.3em -.16em -.3em); }
.ln__in{
  --tl:clamp(0, (var(--p) - var(--o) - var(--i) * .06) / var(--len), 1);
  display:block;
  transform:translateY(calc((1 - var(--tl) * var(--tl) * (3 - 2 * var(--tl))) * 115%));
}

[data-reveal="line"]{ transform:scaleX(var(--e)); transform-origin:0 50%; }

[data-reveal="card"]{
  --len:.6;
  opacity:var(--e);
  transform:perspective(1400px) translateY(calc((1 - var(--e)) * 140 * var(--u))) rotateX(calc((1 - var(--e)) * 20deg));
  transform-origin:50% 100%;
}

[data-reveal="right"]{
  opacity:var(--e);
  transform:translateX(calc((1 - var(--e)) * 220 * var(--u)));
}

[data-reveal="wipe"]{ --len:.6; clip-path:inset(calc((1 - var(--e)) * 100%) 0 0 0); }

[data-reveal="stagger"] > *{
  --ts:clamp(0, (var(--p) - var(--o) - var(--k, 0)) / var(--len), 1);
  opacity:var(--ts);
  transform:translateY(calc((1 - var(--ts)) * 70 * var(--u)));
}
[data-reveal="stagger"] > :nth-child(2){ --k:.05; }
[data-reveal="stagger"] > :nth-child(3){ --k:.1; }
[data-reveal="stagger"] > :nth-child(4){ --k:.15; }
[data-reveal="stagger"] > :nth-child(5){ --k:.2; }
[data-reveal="stagger"] > :nth-child(6){ --k:.25; }

/* parallax: main.js writes --s, the element's centre offset from the viewport centre in screens */
[data-parallax]{ --s:0; }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ --p:1 !important; }
  [data-parallax]{ --s:0 !important; }
}

/* ============================================================
   HEADER
   ============================================================ */
/* positions/sizes in --u match the 1920x1080 comp and scale with the viewport */
.header{
  position:fixed; inset:0 0 auto 0; z-index:70;
  height:0;
}
.header__logo{
  position:absolute; left:calc(75 * var(--u)); top:calc(40 * var(--u));
  width:max(84px, calc(121 * var(--u)));
}
.header__logo img{ display:block; width:100%; height:auto; }

.menu-btn{
  position:absolute; right:calc(76 * var(--u)); top:calc(41 * var(--u));
  display:flex; flex-direction:column; align-items:flex-end;
  padding:0; border:0; background:none; cursor:pointer;
  color:#fff; font-size:max(14px, calc(20 * var(--u)));
}
/* MENU / CLOSE share one spot and cross-fade; the three lines fold into an X */
.menu-btn__label{
  display:grid; justify-items:end;
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:1em; line-height:1;
}
.menu-btn__open,
.menu-btn__close{ grid-area:1 / 1; transition:opacity .3s var(--ease), transform .5s var(--ease); }
.menu-btn__open{ letter-spacing:.25em; margin-right:-.25em; }
.menu-btn__close{ letter-spacing:.09em; margin-right:-.09em; opacity:0; transform:translateY(-40%); }
.is-menu-open .menu-btn__open{ opacity:0; transform:translateY(40%); }
.is-menu-open .menu-btn__close{ opacity:1; transform:none; }
.menu-btn__lines{
  display:flex; flex-direction:column; align-items:flex-end;
  gap:calc(.3em - 1px); margin-top:.3em;
}
.menu-btn__lines i{
  display:block; height:1px; background:currentColor;
  transition:width .4s var(--ease), transform .5s var(--ease), opacity .3s var(--ease);
}
.menu-btn__lines i:nth-child(1){ width:3.75em; }
.menu-btn__lines i:nth-child(2){ width:2.25em; }
.menu-btn__lines i:nth-child(3){ width:1.5em; }
.menu-btn:hover .menu-btn__lines i{ width:3.75em; }
/* open: the outer lines meet on the middle one and cross (75 x 12px X, as in the comp) */
.is-menu-open .menu-btn__lines i:nth-child(1){ width:3.75em; transform:translateY(.3em) rotate(9.09deg); }
.is-menu-open .menu-btn__lines i:nth-child(2){ opacity:0; }
.is-menu-open .menu-btn__lines i:nth-child(3){ width:3.75em; transform:translateY(-.3em) rotate(-9.09deg); }

.header__logo{ transition:opacity .4s var(--ease); }
/* over a white panel (contact form, policy) the fixed header turns dark so it stays readable:
   MENU goes black and the logo is inverted, its teal hue-rotated back to teal */
.menu-btn{ transition:color .3s var(--ease); }
.header__logo img{ transition:filter .3s var(--ease); }
.is-header-dark:not(.is-menu-open) .menu-btn{ color:#000; }
.is-header-dark:not(.is-menu-open) .header__logo img{ filter:invert(1) hue-rotate(180deg); }
.is-menu-open .header__logo{ opacity:0; pointer-events:none; }

/* ---------- menu (full screen) ----------
   pages down the left, CONTACT on its own to the right; each word rises out of a mask in turn */
.drawer{
  position:fixed; inset:0; z-index:65;
  background:#000;
  visibility:hidden; opacity:0;
  transition:opacity .5s var(--ease), visibility 0s linear .5s;
}
.drawer.is-open{ visibility:visible; opacity:1; transition:opacity .5s var(--ease); }
.drawer__en{
  display:block; overflow:hidden; padding:.06em .1em .2em; margin:-.06em -.1em -.2em;
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(91 * var(--u)); line-height:1; letter-spacing:-.02em;
}
.drawer__en > span{
  display:block; transform:translateY(110%);
  transition:transform .5s var(--ease);
}
.drawer.is-open .drawer__en > span{
  transform:none;
  transition:transform 1.1s var(--expo) calc(.15s + var(--n) * .07s);
}
.drawer__jp{
  font-weight:700; font-size:max(12px, calc(22 * var(--u))); line-height:1; color:#818181;
  opacity:0; transition:opacity .3s var(--ease);
}
.drawer.is-open .drawer__jp{ opacity:1; transition:opacity .8s var(--ease) calc(.5s + var(--n) * .07s); }

.drawer__list{ position:absolute; left:calc(110 * var(--u)); top:calc(251 * var(--u)); }
.drawer__list li{ position:relative; height:calc(121.25 * var(--u)); }
.drawer__list a{ display:inline-flex; align-items:baseline; gap:calc(8 * var(--u)); }
/* 800px hairline under the current page. Hovering an item shoots a line in under it from the
   left; the line it leaves runs off to the right */
.drawer__list li::after{
  content:""; position:absolute; left:0; top:calc(97 * var(--u));
  width:calc(800 * var(--u)); height:1px;
  background:linear-gradient(90deg, #fff 0%, #fff 92%, rgba(255,255,255,.2) 100%);
  transform:scaleX(0); transform-origin:100% 50%;
  transition:transform .35s cubic-bezier(.55,0,.75,.2);
}
.drawer.is-open .drawer__list li.is-current::after{
  transform:none; transform-origin:0 50%;
  transition:transform .8s var(--expo) .7s;
}
.drawer.is-open .drawer__list:hover li::after{
  transform:scaleX(0); transform-origin:100% 50%;
  transition:transform .35s cubic-bezier(.55,0,.75,.2);
}
.drawer.is-open .drawer__list li:hover::after{
  transform:none; transform-origin:0 50%;
  transition:transform .45s cubic-bezier(.16,1,.3,1);
}

.drawer__contact{
  position:absolute; right:calc(81 * var(--u)); top:calc(500 * var(--u));
  display:flex; flex-direction:column; align-items:flex-end;
}
.drawer__contact .drawer__jp{ margin-top:calc(-4.8 * var(--u)); }
.drawer__list a,
.drawer__contact{ transition:opacity .4s var(--ease); }
.drawer__contact:hover{ opacity:.6; }
html.is-menu-open{ overflow:hidden; }

@media (prefers-reduced-motion: reduce){
  .drawer, .drawer *{ transition:none !important; }
}

/* ============================================================
   HERO / FV
   ============================================================ */
.hero{
  position:relative;
  height:100svh; min-height:640px;
  display:flex; flex-direction:column; justify-content:flex-end;
  overflow:hidden;
  background:#000;
}
/* opening: black until the copy has played out (≈3.3s), then the video and the network fade up
   with a slight zoom-settle while the logo builds */
.hero__media{
  position:absolute; inset:0; background:#000;
  animation:media-in 1.8s cubic-bezier(.16,1,.3,1) 3.3s both;
}
@keyframes media-in{
  from{ opacity:0; transform:scale(1.08); }
  to{ opacity:1; transform:none; }
}
/* shown under the canvas */
.hero__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  pointer-events:none;
}
.hero__canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
}

.hero__copy{
  position:absolute; inset:0; z-index:2;
  /* --tx/--ty: eased cursor position (-1..1); --burst/--fade: scroll-out progress (hero-title.js) */
  pointer-events:none; color:#fff;
}

/* "AI meets human Ideas, for change.": the opening title (artwork SVG, drawn at 1:1 on the 1920
   comp), centred on the black screen. It fades in, holds and fades out before the video appears
   (in .3–1.5s, out 2.2–3.2s) */
.hero__catch{
  position:absolute; left:calc(160 * var(--u)); top:calc(498 * var(--u)); margin:0;
  width:calc(1600 * var(--u));
}
.hero__catch svg{
  display:block; width:100%; height:auto; overflow:visible;
  animation:
    catch-fade-in 1.2s ease-out .3s both,
    catch-fade-out 1s ease-in 2.2s forwards;
}
/* "meets human" / ", for change." sit back at 70% behind "AI" and "Ideas" */
.hero__catch-sub{ opacity:.7; }
@keyframes catch-fade-in{
  from{ opacity:0; }
  to{ opacity:1; }
}
@keyframes catch-fade-out{
  from{ opacity:1; }
  to{ opacity:0; }
}

/* the big logo along the bottom edge */
.hero__logo{
  position:absolute; left:calc(110 * var(--u)); bottom:calc(-1 * var(--u)); margin:0;
  width:calc(1700.21 * var(--u));
  opacity:calc(1 - var(--fade, 0));
  transform:translate(calc(var(--tx, 0) * -10 * var(--u)), calc(var(--ty, 0) * -6 * var(--u) + var(--burst, 0) * 120 * var(--u)));
}
.hero__logo svg{ display:block; width:100%; height:auto; overflow:hidden; }
/* intro, with the video: the letters push up out of the bottom edge one after another; the A
   arrives along its stroke, and the I's teal head drops in to meet its white stem at the seam */
.hero__logo .lg{
  transform-box:fill-box;
  animation:logo-in 1.3s cubic-bezier(.19,1,.22,1) calc(var(--d, 0s) + 3.3s) both;
}
@keyframes logo-in{
  from{ transform:translate(var(--fx, 0%), var(--fy, 110%)); }
  to{ transform:none; }
}

@media (prefers-reduced-motion: reduce){
  .hero__media,
  .hero__logo .lg{ animation:none; }
  .hero__catch svg{ display:none; }
}

.sr-only{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ============================================================
   LOWER SECTIONS — shared
   Sizes in --u match the 1920px comp (261102_AIdea_web_pc_HOME).
   ============================================================ */
.wrap{ position:relative; z-index:1; width:calc(1700 * var(--u)); margin:0 auto; }

/* section heading: big Gotham word, Japanese label, short dash */
.sec-head__en{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(120 * var(--u)); line-height:1; letter-spacing:-.025em;
}
.sec-head__jp,
.gate__jp{
  font-weight:700; font-size:max(12px, calc(22 * var(--u))); line-height:1;
}
.sec-head__jp{ margin-top:calc(24 * var(--u)); }
.sec-head__jp::after,
.gate__jp::after{
  content:""; display:block;
  width:calc(20 * var(--u)); height:2px; margin-top:calc(24 * var(--u));
  background:#fff;
}
.sec-head__jp::after{ transform:scaleX(var(--e, 1)); transform-origin:0 50%; }

/* VIEW MORE + */
.more-row{ text-align:right; line-height:1; }
.more{
  display:inline-flex; align-items:center; gap:calc(14 * var(--u));
  font-weight:700; font-size:max(12px, calc(24 * var(--u))); line-height:1;
  letter-spacing:.01em;
}
.more::after{
  content:""; flex:none;
  width:calc(15 * var(--u)); height:calc(15 * var(--u));
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition:transform .5s var(--ease);
}
.more:hover::after,
.gate__item:hover .more::after{ transform:rotate(90deg); }

/* gradient artwork behind Service and the footer (1920px wide originals) */
.sec-bg{
  position:absolute; left:0; z-index:0; width:100%; pointer-events:none;
  background:#000 center top / 100% 100% no-repeat;
}
/* Service: the image fills the section and fades to black at both ends, as in the comp */
.sec-bg--svc{
  top:0; height:calc(1710 * var(--u));
  background-image:url("../img/bg-service.jpg");
  -webkit-mask-image:linear-gradient(to bottom, transparent calc(70 * var(--u)), #000 calc(320 * var(--u)), #000 calc(1440 * var(--u)), transparent calc(1660 * var(--u)));
          mask-image:linear-gradient(to bottom, transparent calc(70 * var(--u)), #000 calc(320 * var(--u)), #000 calc(1440 * var(--u)), transparent calc(1660 * var(--u)));
}
/* footer: the image carries its own fade from black and runs to the page bottom */
.sec-bg--footer{
  bottom:0; height:calc(1020 * var(--u));
  background-image:url("../img/bg-footer.jpg");
}

/* ============================================================
   MESSAGE — art-directed: everything placed on the 1920 comp
   ============================================================ */
.msg{
  position:relative; height:calc(1500 * var(--u));
  overflow:hidden; background:#000;
}
.msg__video{
  position:absolute; left:calc(42 * var(--u)); top:calc(220 * var(--u));
  width:calc(1728 * var(--u)); height:auto;
  opacity:.3;
  translate:0 calc(var(--s) * -160 * var(--u));
}
/* giant line drifting across behind the copy, over the spiral */
.msg__marquee{
  position:absolute; left:0; top:calc(754 * var(--u)); z-index:1;
  display:flex; width:max-content; white-space:nowrap; pointer-events:none;
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(245 * var(--u)); line-height:1;
  color:rgba(255,255,255,.1);
  translate:calc(var(--s) * 420 * var(--u)) 0;
  animation:marquee 60s linear infinite;
}
@keyframes marquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
.msg__catch,
.msg__line,
.msg__body{ position:absolute; z-index:2; }
.msg__en{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(14px, calc(30 * var(--u))); line-height:1;
}
.msg__jp{ font-weight:700; font-size:max(20px, calc(46 * var(--u))); line-height:1; }
.msg__catch--play{ right:calc(507 * var(--u)); top:calc(238 * var(--u)); text-align:right; }
.msg__catch--play .msg__jp{ margin-top:calc(19 * var(--u)); }
.msg__catch--create{ left:calc(503 * var(--u)); top:calc(474 * var(--u)); }
.msg__catch--create .msg__jp{ margin:calc(16 * var(--u)) 0 0 calc(99 * var(--u)); }
/* hairline linking the two catches; it draws itself in */
.msg__line{
  left:calc(878 * var(--u)); top:calc(360 * var(--u));
  width:calc(262 * var(--u)); height:calc(140 * var(--u)); overflow:visible;
}
/* the line shoots from "Play with AI" down to "Create the Future" */
.msg__line line{
  stroke:#fff; stroke-width:1;
  stroke-dasharray:1;
  stroke-dashoffset:calc(1 - var(--e));
}
.msg__body{
  left:calc(947 * var(--u)); top:calc(640 * var(--u));
  font-weight:500; font-size:max(13px, calc(20 * var(--u))); line-height:1.65;
}
.msg__body p + p{ margin-top:1.65em; }
/* the copy runs to the width of the line 「私たちは、AIを起点に問いを立て、考える。」 (19.85em in
   Noto Sans JP) and wraps on its own; the closing catch keeps its own breaks at its larger size */
.msg__body p:not(.msg__closing){ width:19.86em; text-wrap:pretty; }
.msg__body .msg__closing{
  margin-top:calc(31 * var(--u));
  font-weight:700; font-size:max(18px, calc(37 * var(--u))); line-height:calc(50 / 37);
}

/* ============================================================
   SERVICE
   ============================================================ */
.svc{ position:relative; padding:calc(206 * var(--u)) 0 calc(201 * var(--u)); }
.svc__intro{
  display:grid; grid-template-columns:calc(860 * var(--u)) 1fr; align-items:start;
  margin-top:calc(91 * var(--u));
}
.svc__title{
  padding-top:calc(51 * var(--u));
  font-weight:700; font-size:max(22px, calc(49 * var(--u))); line-height:1;
}
.svc__title-en{
  display:block; margin-top:calc(26 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(68 * var(--u)); color:rgba(255,255,255,.2);
}
.svc__lead{ font-weight:500; font-size:max(13px, calc(24 * var(--u))); line-height:1.75; }
.svc__rule{
  height:1px; margin:calc(91 * var(--u)) 0 0; border:0;
  background:rgba(255,255,255,.47);
}
.svc__what{
  display:flex; align-items:center; gap:calc(20 * var(--u));
  margin-top:calc(97 * var(--u));
  font-weight:700; font-size:max(16px, calc(30 * var(--u))); line-height:1; letter-spacing:.04em;
}
.svc__what::before{
  content:""; width:calc(17 * var(--u)); height:calc(20 * var(--u));
  background:#fff; clip-path:polygon(0 0, 100% 50%, 0 100%);
}
.svc__cards{
  display:grid; grid-template-columns:1fr 1fr; gap:calc(20 * var(--u));
  margin-top:calc(50 * var(--u));
}
.svc-card{
  position:relative; height:calc(455 * var(--u));
  padding:calc(47 * var(--u)) calc(50 * var(--u)) 0;
  border-radius:calc(16 * var(--u)); overflow:hidden;
  background:linear-gradient(150deg, rgba(255,255,255,.17), rgba(255,255,255,.05) 55%, rgba(255,255,255,.07));
  -webkit-backdrop-filter:blur(24px); backdrop-filter:blur(24px);
}
/* a soft light follows the cursor across the card */
.svc-card::before,
.news-card__link::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(calc(420 * var(--u)) circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 70%);
  opacity:0; transition:opacity .5s var(--ease);
}
.svc-card:hover::before,
.news-card__link:hover::before{ opacity:1; }
.svc-card__no{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(14px, calc(30 * var(--u))); line-height:1;
}
.svc-card__title{
  margin-top:calc(55 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(60 * var(--u)); line-height:1;
}
.svc-card__sub{
  margin-top:calc(16 * var(--u));
  font-weight:700; font-size:max(15px, calc(30 * var(--u))); line-height:1;
}
.svc-card__text{
  margin-top:calc(54 * var(--u));
  font-weight:500; font-size:max(12px, calc(18 * var(--u))); line-height:calc(30 / 18);
}
.svc .more-row{ margin-top:calc(30 * var(--u)); }

/* ============================================================
   NEWS
   ============================================================ */
.news{ padding:calc(199 * var(--u)) 0 calc(147 * var(--u)); background:#000; }
.news__grid{ display:grid; grid-template-columns:calc(573 * var(--u)) 1fr; align-items:start; }
.news__list li + li{ margin-top:calc(30 * var(--u)); }
.news-item{
  display:grid; grid-template-columns:calc(147 * var(--u)) 1fr; align-items:start;
  height:calc(180 * var(--u));
  padding:calc(49 * var(--u)) calc(52 * var(--u)) 0 calc(33 * var(--u));
  border-radius:calc(8 * var(--u));
  background:linear-gradient(90deg, #333 0%, #1d1d1d 28%, #121212 73%, #191919 100%);
  transition:background-color .4s var(--ease), transform .5s var(--ease);
}
.news-item:hover{ transform:translateX(calc(-12 * var(--u))); }
.news-item__date{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(11px, calc(16.5 * var(--u))); line-height:1; color:#989898;
}
.news-item__main{
  display:block; min-height:calc(82 * var(--u));
  padding-left:calc(48 * var(--u)); border-left:1px solid #fff;
}
.news-item__title{
  display:block;
  font-weight:700; font-size:max(13px, calc(22 * var(--u))); line-height:1;
  transition:color .4s var(--ease);
}
.news-item:hover .news-item__title{ color:var(--teal); }
.news-item__text{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  margin-top:calc(18 * var(--u));
  font-weight:500; font-size:max(11px, calc(16 * var(--u))); line-height:calc(22 / 16);
  letter-spacing:.02em; color:#999;
}
.news .more-row{ margin-top:calc(29 * var(--u)); }

/* ============================================================
   PARTNER
   ============================================================ */
.partner{
  position:relative; height:calc(1080 * var(--u));
  overflow:hidden; background:#000;
}
.partner__video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:.5;
  scale:calc(1.06 + var(--s) * .18);
}
.partner__copy{
  position:absolute; left:0; right:0; top:calc(415 * var(--u)); z-index:1;
  text-align:center;
}
.partner__en{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(98 * var(--u)); line-height:1; white-space:nowrap;
}
/* typed out by main.js: characters switch on one by one, the cursor moving along behind them;
   it holds solid while typing and blinks once the line is done */
.partner__en .tc{ visibility:hidden; }
.partner__en .tc.is-on{ visibility:visible; }
.partner__cursor{ animation:cursor-blink 1.1s steps(1, end) infinite; }
.partner__en.is-typing .partner__cursor{ animation:none; }
@keyframes cursor-blink{ 50%{ opacity:0; } }
.partner__jp{
  margin-top:calc(51 * var(--u));
  font-weight:700; font-size:max(18px, calc(46 * var(--u))); line-height:1;
  opacity:0; transform:translateY(calc(40 * var(--u)));
  transition:opacity .9s var(--ease), transform 1.1s var(--expo);
}
.partner__copy.is-typed .partner__jp{ opacity:1; transform:none; }

/* ============================================================
   COMPANY / CONTACT — the open panel is wide, the other a narrow strip;
   hovering (or focusing) a panel opens it (main.js moves .is-open)
   ============================================================ */
.gate{
  display:flex; align-items:flex-start; gap:calc(20 * var(--u));
  width:calc(1700 * var(--u)); height:calc(880 * var(--u));
  margin:calc(150 * var(--u)) auto 0;
}
.gate__item{
  position:relative; flex:0 0 calc(340 * var(--u)); height:calc(840 * var(--u));
  border-radius:calc(16 * var(--u)); overflow:hidden;
  transition:flex-basis .9s var(--ease), height .9s var(--ease);
}
.gate__item.is-open{ flex-basis:calc(1340 * var(--u)); height:calc(880 * var(--u)); }
/* as the panel wipes open its photo settles from a zoom */
.gate__bg{
  position:absolute; inset:0;
  background:#000 left center / cover no-repeat;
  transform:scale(calc(1 + (1 - var(--e, 1)) * .3));
}
.gate__en{
  position:absolute; top:calc(96 * var(--u)); left:var(--en-left);
  writing-mode:vertical-rl; text-orientation:sideways;
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(120 * var(--u)); line-height:1; letter-spacing:-.025em; white-space:nowrap;
}
.gate__item--company{ --en-left:calc(63 * var(--u)); }
.gate__item--contact{ --en-left:calc(45 * var(--u)); }
.gate__jp{ position:absolute; left:calc(70 * var(--u)); top:calc(706 * var(--u)); }
.gate__more{
  position:absolute; right:calc(70 * var(--u)); top:50%;
  transform:translateY(-50%); opacity:0;
  transition:opacity .4s var(--ease);
}
.gate__item.is-open .gate__more{ opacity:1; transition-delay:.4s; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  position:relative; overflow:hidden;
  margin-top:calc(40 * var(--u));
  padding:calc(160 * var(--u)) 0 calc(102 * var(--u));
}
.footer__inner{
  display:flex; justify-content:space-between; align-items:flex-start;
  padding-top:calc(70 * var(--u));
}
.footer__inner::before{
  content:""; position:absolute; left:0; right:0; top:0; height:1px;
  background:rgba(255,255,255,.5);
}
[data-reveal="rule"]::before{ transform:scaleX(var(--e)); transform-origin:0 50%; }
.footer__logo{ display:block; width:calc(800 * var(--u)); }
.footer__logo img{ width:100%; height:auto; }
.footer__addr{
  margin-top:calc(50 * var(--u));
  font-style:normal; font-weight:700;
  font-size:max(12px, calc(22 * var(--u))); line-height:1; letter-spacing:.05em;
}
.footer__zip{
  display:block; margin-bottom:calc(9 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500; letter-spacing:.06em;
}
.footer__copy{
  display:block; margin-top:calc(155 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(11px, calc(20 * var(--u))); line-height:1;
}
.footer__nav{ padding-top:calc(2.5 * var(--u)); }
.footer__nav a{
  display:block;
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(60 * var(--u)); line-height:calc(58.5 / 60); letter-spacing:-.01em;
  transition:color .4s var(--ease);
}
.footer__nav a[aria-current="page"],
.footer__nav a:hover{ color:rgba(255,255,255,.5); }

@media (prefers-reduced-motion: reduce){
  .msg__marquee,
  .partner__cursor{ animation:none; }
}

/* ============================================================
   SERVICE PAGE (service.html) — sizes in --u match the 1920px comp
   (261102_AIdea_web_pc_service)
   ============================================================ */
/* brand gradient hairline across the top of lower-level pages */
.page-bar{
  position:absolute; left:0; right:0; top:0; z-index:71; height:calc(10 * var(--u));
  background:linear-gradient(90deg, #fdc24a 0%, #e06b28 5%, #c31306 10%, #7c0000 15%, #3d0007 20%,
    #6f0035 25%, #9f0064 30%, #ad007e 35%, #6a006e 40%, #3d0060 45%, #220054 50%, #060048 55%,
    #010050 60%, #00016d 70%, #000496 75%, #0008bf 80%, #0129e0 85%, #0171ef 90%, #04b1fe 95%, #08caee 100%);
}
.page-sub{ position:relative; }

/* page title block */
.sv-head{ padding-top:calc(342 * var(--u)); }
.sec-head--page .sec-head__en{ font-size:calc(200 * var(--u)); letter-spacing:-.022em; }
/* page title entrance (on load, main.js): each letter comes into focus in turn — from blurred,
   transparent and slightly large to sharp, 0.8s apiece, 0.05s apart */
.ich{ display:inline-block; white-space:pre; opacity:0; }
[data-intro].is-in .ich{ animation:ich-blur-in .8s ease-out calc(var(--i) * .05s) forwards; }
@keyframes ich-blur-in{
  from{ filter:blur(12px); opacity:0; transform:scale(1.1); }
  to  { filter:blur(0); opacity:1; transform:scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .ich{ opacity:1; }
  [data-intro].is-in .ich{ animation:none; }
}
.sec-head--page .sec-head__jp{ margin-top:calc(9 * var(--u)); }

/* "Our Approach /" style sub-heading */
.sub-head{
  display:flex; align-items:flex-start; gap:calc(26 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(69 * var(--u)); line-height:1;
}
.sub-head::after{
  content:""; flex:none; width:calc(57 * var(--u)); height:calc(57 * var(--u)); margin-top:calc(4 * var(--u));
  background:linear-gradient(to bottom right, transparent calc(50% - .6px), #fff calc(50% - .6px), #fff calc(50% + .6px), transparent calc(50% + .6px));
  transform:scale(var(--e, 1)); transform-origin:0 100%;
}

/* ---------- Our Approach: five rows over a tall artwork strip ---------- */
.appr{ padding-top:calc(194 * var(--u)); }
.appr__body-wrap{ position:relative; margin-top:calc(128 * var(--u)); }
.appr__visual{
  position:absolute; left:0; top:0; width:calc(250 * var(--u)); height:calc(1800 * var(--u)); overflow:hidden;
}
.appr__visual img{ width:100%; height:100%; object-fit:cover; }
[data-reveal="wipe-down"]{ --len:.6; clip-path:inset(0 0 calc((1 - var(--e)) * 100%) 0); }
.appr__list{ position:relative; margin:0; padding:0; list-style:none; }
.appr__row{
  position:relative; height:calc(360 * var(--u));
  border-top:1px solid rgba(255,255,255,.5);
}
.appr__row:last-child{ border-bottom:1px solid rgba(255,255,255,.5); }
/* the step arrow under each number, pointing on to the next row */
.appr__row:not(:last-child)::after{
  content:""; position:absolute; left:calc(358 * var(--u)); top:calc(273 * var(--u));
  width:calc(41 * var(--u)); height:calc(21 * var(--u)); background:#fff;
  clip-path:polygon(0 0, 100% 0, 50% 100%);
  opacity:var(--e); transform:translateY(calc((1 - var(--e)) * -16 * var(--u)));
}
.appr__no{
  position:absolute; left:calc(303 * var(--u)); top:calc(127 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(112 * var(--u)); line-height:1;
  color:transparent; -webkit-text-stroke:1px #fff;
}
.appr__en{
  position:absolute; left:calc(516 * var(--u)); top:calc(168 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(13px, calc(30 * var(--u))); line-height:1; color:#828282; white-space:nowrap;
}
.appr__text{ position:absolute; left:calc(900 * var(--u)); top:calc(108 * var(--u)); width:calc(700 * var(--u)); }
.appr__title{ font-weight:700; font-size:max(18px, calc(36 * var(--u))); line-height:1; }
.appr__body{
  margin-top:calc(23 * var(--u));
  font-weight:500; font-size:max(12px, calc(17 * var(--u))); line-height:calc(30 / 17); letter-spacing:.05em;
}

/* ---------- Our Offerings ---------- */
.offers{ padding:calc(244 * var(--u)) 0 calc(113 * var(--u)); }
.offer{ margin-top:calc(169 * var(--u)); }
.offer + .offer{
  margin-top:calc(152 * var(--u)); padding-top:calc(144 * var(--u));
  border-top:1px solid rgba(255,255,255,.5);
}
.offer__head{ display:grid; grid-template-columns:calc(1000 * var(--u)) 1fr; align-items:start; }
.offer__en{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(100 * var(--u)); line-height:1; letter-spacing:-.018em; white-space:nowrap;
}
.offer--avc .offer__en{ letter-spacing:-.035em; }
.offer__lead{ padding-top:calc(7 * var(--u)); }
.offer__lead-title{ font-weight:700; font-size:max(18px, calc(36 * var(--u))); line-height:1; letter-spacing:.03em; }
.offer__lead-title::after{
  content:""; display:block; width:calc(20 * var(--u)); height:2px; margin-top:calc(31 * var(--u)); background:#fff;
}
.offer__lead-text{
  margin-top:calc(17 * var(--u));
  font-weight:500; font-size:max(13px, calc(22 * var(--u))); line-height:calc(42 / 22); letter-spacing:.08em;
}

/* the tree: a trunk down the left, a branch out to each item's label */
.offer__tree{ margin:calc(-7 * var(--u)) 0 0; padding:calc(90 * var(--u)) 0 0; list-style:none; }
.offer-item{ position:relative; display:flex; align-items:flex-start; }
.offer-item + .offer-item{ margin-top:calc(120 * var(--u)); }
.offer-item::before,
.offer-item::after{ content:""; position:absolute; background:#fff; }
/* trunk: a continuous 1px line at x=210 (comp) — each item draws the run from the gap above it
   through its own height; the last stops at its branch, making the corner */
.offer-item::before{
  left:calc(100 * var(--u)); width:1px;
  top:calc(-120 * var(--u)); bottom:0;
  transform:scaleY(var(--e)); transform-origin:50% 0;
}
.offer-item:first-child::before{ top:calc(-90 * var(--u)); }
.offer-item:last-child::before{ bottom:auto; height:calc(161 * var(--u)); }
.offer-item:first-child:last-child::before{ height:calc(131 * var(--u)); }
.offer-item::after{           /* branch: 50px out from the trunk at the label's centre */
  left:calc(100 * var(--u)); top:calc(40 * var(--u)); width:calc(50 * var(--u)); height:1px;
  transform:scaleX(clamp(0, var(--e) * 2 - 1, 1)); transform-origin:0 50%;
}
.offer-item__icon{
  flex:none; width:calc(120 * var(--u)); height:calc(120 * var(--u));
  margin:calc(-20 * var(--u)) 0 calc(-20 * var(--u)) calc(190 * var(--u));
}
.offer-item__label{
  flex:none; display:flex; align-items:center; justify-content:center;
  width:calc(440 * var(--u)); height:calc(80 * var(--u)); margin-left:calc(40 * var(--u));
  background:linear-gradient(90deg, #333 0%, #1d1d1d 40%, #111 62%, #191919 100%);
  font-weight:700; font-size:max(16px, calc(36 * var(--u))); line-height:1; letter-spacing:.1em;
}
.offer-item__details{ margin:0 0 0 calc(88 * var(--u)); padding-top:calc(10 * var(--u)); }
.offer-item__detail{ padding-left:calc(19 * var(--u)); border-left:4px solid #fff; }
.offer-item__detail + .offer-item__detail{ margin-top:calc(50 * var(--u)); }
.offer-item__detail dt{ font-weight:700; font-size:max(12px, calc(20 * var(--u))); line-height:1; }
.offer-item__detail dd{
  margin:calc(21 * var(--u)) 0 0;
  font-weight:500; font-size:max(11px, calc(18 * var(--u))); line-height:1; color:#989898;
}

/* ============================================================
   COMPANY PAGE (company.html) — sizes in --u match the 1920px comp
   (261102_AIdea_web_pc_company)
   ============================================================ */
/* paint splash behind the page head, top right; it fades up on load and drifts with the scroll */
.co-splash{
  position:absolute; left:0; top:calc(160 * var(--u)); z-index:0;
  width:100%; height:calc(1080 * var(--u)); pointer-events:none;
  translate:0 calc(var(--s) * -120 * var(--u));
  animation:co-splash-in 2.2s var(--ease) .2s both;
}
.co-splash img{ width:100%; height:100%; object-fit:cover; opacity:.5; }
@keyframes co-splash-in{
  from{ opacity:0; transform:scale(1.06); }
  to  { opacity:1; transform:none; }
}
.co-head{ position:relative; z-index:1; }
.co-catch{
  margin-top:calc(142 * var(--u));
  font-weight:700; font-size:max(28px, calc(90 * var(--u))); line-height:1; white-space:nowrap;
}

/* ---------- Mission / Vision / Value, with the three-ring artwork ---------- */
.mvv{ position:relative; margin-top:calc(203 * var(--u)); min-height:calc(1579 * var(--u)); }
.mvv__venn{
  position:absolute; left:calc(718 * var(--u)); top:calc(378 * var(--u)); z-index:0;
  width:calc(1200 * var(--u)); height:auto;
}
[data-reveal="venn"]{
  --len:.7;
  opacity:var(--e);
  transform:rotate(calc((1 - var(--e)) * -24deg)) scale(calc(.86 + var(--e) * .14));
}
.mvv__list{ margin:0; }
.mvv__row{ position:relative; padding-left:calc(360 * var(--u)); }
.mvv__row + .mvv__row{ margin-top:calc(145 * var(--u)); }
.mvv__row::before{             /* rule from the label across to the text */
  content:""; position:absolute; left:calc(200 * var(--u)); top:calc(66 * var(--u));
  width:calc(100 * var(--u)); height:1px; background:#fff;
  transform:scaleX(var(--e)); transform-origin:0 50%;
}
.mvv__label{
  position:absolute; left:0; top:calc(49.5 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(16px, calc(40 * var(--u))); line-height:1;
}
.mvv__text{ margin:0; }
.mvv__en{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(11px, calc(20 * var(--u))); line-height:1; color:#818181;
}
.mvv__jp{ margin-top:calc(15 * var(--u)); font-weight:700; font-size:max(20px, calc(50 * var(--u))); line-height:1; }
.mvv__values{ position:relative; margin:0; padding:0; list-style:none; }
.mvv__values li{ position:relative; }
.mvv__values li + li{ margin-top:calc(100 * var(--u)); }
.mvv__values::before,          /* the bracket's spine and its branches out to each value */
.mvv__values li + li::before{ content:""; position:absolute; background:#fff; }
.mvv__values::before{
  left:calc(-110 * var(--u)); top:calc(66 * var(--u)); width:1px; height:calc(369 * var(--u));
  transform:scaleY(var(--e)); transform-origin:50% 0;
}
.mvv__values li + li::before{
  left:calc(-110 * var(--u)); top:calc(65 * var(--u)); width:calc(50 * var(--u)); height:1px;
  transform:scaleX(clamp(0, var(--e) * 2 - 1, 1)); transform-origin:0 50%;
}

/* ---------- Message ---------- */
.co-msg{ margin-top:calc(116 * var(--u)); }
.co-msg__grid{ display:grid; grid-template-columns:calc(500 * var(--u)) calc(420 * var(--u)) 1fr; align-items:start; }
.co-msg .sub-head{ margin-top:calc(1 * var(--u)); }
.co-msg__photo{ margin:0; width:calc(420 * var(--u)); height:calc(594 * var(--u)); overflow:hidden; }
.co-msg__photo img{ width:100%; height:100%; object-fit:cover; scale:calc(1.15 - var(--e) * .15); }
.co-msg__text{ margin-left:calc(80 * var(--u)); }
.co-msg__title{ margin-top:calc(-2 * var(--u)); font-weight:700; font-size:max(18px, calc(36 * var(--u))); line-height:1; }
/* the copy wraps on its own and is justified, so its right edge lines up with the right end of the
   profile's colour rule below (both end at the content edge) */
.co-msg__body{
  margin-top:calc(58 * var(--u)); font-weight:500; font-size:max(13px, calc(20 * var(--u))); line-height:calc(33 / 20);
  font-feature-settings:"halt"; letter-spacing:.02em;
}
.co-msg__body p + p{ margin-top:calc(33 * var(--u)); }
/* the signature writes itself in from the left */
.co-msg__sign{ margin:calc(66 * var(--u)) 0 0 calc(-5 * var(--u)); }
.co-msg__sign img{ width:calc(260 * var(--u)); height:auto; }
[data-reveal="sign"]{ --len:.5; clip-path:inset(0 calc((1 - var(--e)) * 100%) 0 0); }

/* ---------- Profile ---------- */
.profile{ margin-top:calc(63 * var(--u)); }
.profile__rule{
  display:block; height:calc(5 * var(--u)); margin-left:calc(500 * var(--u));
}
.profile__rule--top{
  background:linear-gradient(90deg, #fec24a 0%, #e2702a 8%, #c61c0b 17%, #a80000 25%, #8a0000 33%,
    #6c0000 42%, #4c0002 50%, #42000c 58%, #67002f 67%, #8e0054 75%, #b60079 83%, #8f0076 92%, #5a0066 100%);
}
.profile__rule--bottom{
  margin-top:calc(80.6 * var(--u));
  background:linear-gradient(90deg, #4b0065 0%, #37005d 8%, #220054 17%, #0c004c 25%, #01014b 33%,
    #000056 42%, #000060 50%, #010491 58%, #010ed8 67%, #0054ea 75%, #029bf9 83%, #03b9f8 92%, #08caee 100%);
}
.profile__grid{ display:grid; grid-template-columns:calc(414 * var(--u)) 1fr; margin-left:calc(500 * var(--u)); }
.profile__person{ padding-top:calc(76 * var(--u)); }
.profile__role{ font-weight:700; font-size:max(12px, calc(22 * var(--u))); line-height:1; }
.profile__role--sub{ margin-top:calc(12 * var(--u)); font-size:max(11px, calc(20 * var(--u))); }
.profile__en{
  margin-top:calc(27 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(13px, calc(26 * var(--u))); line-height:1; color:#828282;
}
.profile__name{ margin-top:calc(17 * var(--u)); font-weight:700; font-size:max(18px, calc(36 * var(--u))); line-height:1; }
.profile__history{ padding-top:calc(72.6 * var(--u)); }
.profile__head{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:calc(50 * var(--u)); line-height:1;
}
/* timeline: years | ringed dots on a hairline | entries; the line draws down, entries follow */
.tl{ position:relative; margin:calc(74 * var(--u)) 0 0; padding:0; list-style:none; }
.tl::before{
  content:""; position:absolute; left:calc(82 * var(--u)); top:calc(11.5 * var(--u)); bottom:calc(8.5 * var(--u));
  width:1px; background:#808080;
  transform:scaleY(var(--e)); transform-origin:50% 0;
}
.tl__item{
  --tt:clamp(0, (var(--p) - var(--o)) / .4, 1);
  display:grid; grid-template-columns:calc(49 * var(--u)) 1fr; column-gap:calc(68 * var(--u));
  margin-bottom:calc(var(--gap) * var(--u));
  opacity:var(--tt); transform:translateX(calc((1 - var(--tt)) * 40 * var(--u)));
}
.tl__year{
  text-align:right;
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(11px, calc(19 * var(--u))); line-height:calc(20 / 19); letter-spacing:.1em; margin-right:-.1em;
}
.tl__body{ position:relative; }
.tl__body::before{
  content:""; position:absolute; left:calc(-39.5 * var(--u)); top:calc(5.5 * var(--u));
  width:calc(10 * var(--u)); height:calc(10 * var(--u)); box-sizing:border-box;
  border:calc(3 * var(--u)) solid #fff; border-radius:50%; background:#000;
}
/* punctuation set half-width, as in the comp; entries keep the comp's line breaks */
.tl__title{
  font-weight:700; font-size:max(12px, calc(20 * var(--u))); line-height:1;
  white-space:nowrap; font-feature-settings:"halt"; letter-spacing:.03em;
}
.tl__desc{
  margin-top:calc(13 * var(--u));
  font-weight:500; font-size:max(11px, calc(18 * var(--u))); line-height:calc(30 / 18); color:#999;
  font-feature-settings:"halt"; letter-spacing:.01em;
}

/* ---------- city photo ---------- */
.co-city{ margin-top:calc(206 * var(--u)); height:calc(800 * var(--u)); overflow:hidden; }
.co-city img{
  width:100%; height:100%; object-fit:cover;
  scale:1.12; translate:0 calc(var(--s) * -70 * var(--u));
}

/* ---------- Overview ---------- */
.ov{ margin-top:calc(200 * var(--u)); padding-bottom:calc(4 * var(--u)); }
.ov__grid{ display:grid; grid-template-columns:calc(500 * var(--u)) 1fr; align-items:start; }
.ov .sub-head{ margin-top:calc(2 * var(--u)); }
.ov__table{ margin:0; border-bottom:1px solid #808080; }
.ov__row{ display:flex; border-top:1px solid #808080; }
.ov__row dt{
  flex:none; width:calc(200 * var(--u)); padding-top:calc(58 * var(--u));
  font-weight:700; font-size:max(12px, calc(22 * var(--u))); line-height:1; color:#818181;
}
.ov__row dd{
  margin:0; padding:calc(56 * var(--u)) 0 calc(52 * var(--u));
  font-weight:500; font-size:max(13px, calc(22 * var(--u))); line-height:calc(33 / 22);
}

@media (prefers-reduced-motion: reduce){
  .co-splash{ animation:none; }
}

/* ============================================================
   NEWS PAGE (news.html) — sizes in --u match the 1920px comp
   (261102_AIdea_web_pc_news)
   ============================================================ */
.news-list{ margin-top:calc(99 * var(--u)); padding-bottom:calc(3.5 * var(--u)); }
.news-list__grid{
  display:grid; grid-template-columns:repeat(3, 1fr); column-gap:calc(19 * var(--u)); row-gap:calc(61 * var(--u));
  margin:0; padding:0; list-style:none;
}
.news-card__link{
  position:relative; display:block;
  height:calc(338 * var(--u)); padding:calc(32 * var(--u)) calc(33 * var(--u)) 0;
  border-radius:calc(16 * var(--u)); overflow:hidden;
  background:linear-gradient(90deg, #323232 0%, #272727 16%, #121212 45%, #121212 72%, #191919 100%);
}
.news-card__date{
  display:block;
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(11px, calc(16.5 * var(--u))); line-height:1; color:#999;
}
.news-card__date::after{       /* hairline between the date and the title */
  content:""; display:block; height:1px; margin-top:calc(32 * var(--u)); background:#c6c6c6;
}
.news-card__title{
  margin-top:calc(24.6 * var(--u));
  font-weight:700; font-size:max(14px, calc(24 * var(--u))); line-height:calc(33 / 24);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
}
.news-card__text{
  margin-top:calc(21.3 * var(--u));
  font-weight:500; font-size:max(11px, calc(18 * var(--u))); line-height:calc(29.3 / 18); letter-spacing:.08em; color:#999;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden;
}

/* pagination: ◀ 1 2 3 ▶ centred under the grid; the current page is white, the rest grey */
.pager{
  display:flex; justify-content:center; align-items:center;
  margin-top:calc(103.5 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(16px, calc(30 * var(--u))); line-height:1;
}
.pager__nums{ display:flex; margin:0 calc(70 * var(--u)); padding:0; list-style:none; }
.pager__nums a{
  display:block; width:calc(74 * var(--u)); text-align:center; color:#999;
  transition:color .3s var(--ease);
}
.pager__nums a[aria-current="page"],
.pager__nums a:hover{ color:#fff; }
.pager__arrow{
  display:block; width:calc(17 * var(--u)); height:calc(22 * var(--u)); background:#fff;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.pager__arrow--prev{ clip-path:polygon(100% 0, 100% 100%, 0 50%); }
.pager__arrow--next{ clip-path:polygon(0 0, 100% 50%, 0 100%); }
.pager__arrow--prev:hover{ transform:translateX(calc(-4 * var(--u))); }
.pager__arrow--next:hover{ transform:translateX(calc(4 * var(--u))); }
.pager__arrow[aria-disabled="true"]{ pointer-events:none; opacity:.25; }

/* ============================================================
   NEWS ARTICLE (news-NN.html) — no comp: built from the site's own parts
   (page title, 500px left column, brand gradient rule, prev/next row)
   ============================================================ */
.nd{ margin-top:calc(99 * var(--u)); padding-bottom:calc(120 * var(--u)); }
.nd__grid{ display:grid; grid-template-columns:calc(500 * var(--u)) 1fr; align-items:start; }
.nd__date{
  padding-top:calc(12 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(13px, calc(22 * var(--u))); line-height:1; color:#999;
}
.nd__title{ font-weight:700; font-size:max(22px, calc(48 * var(--u))); line-height:1.5; }
.nd__rule{
  display:block; height:calc(5 * var(--u)); margin:calc(50 * var(--u)) 0 calc(60 * var(--u));
  background:linear-gradient(90deg, #fdc24a 0%, #c31306 12%, #9f0064 30%, #3d0060 48%, #01005d 64%, #0008bf 80%, #08caee 100%);
}
.nd__body{ font-weight:500; font-size:max(14px, calc(20 * var(--u))); line-height:2; letter-spacing:.04em; }
.nd__body p + p{ margin-top:2em; }
.nd__body p{ overflow-wrap:anywhere; }
.nd__body a{ color:var(--teal); text-decoration:underline; text-underline-offset:.25em; }
.nd__body a:hover{ text-decoration:none; }

/* prev / back to list / next */
.nd-nav{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:calc(40 * var(--u));
  margin-top:calc(140 * var(--u)); padding-top:calc(50 * var(--u));
  border-top:1px solid #808080;
}
.nd-nav__link{ display:flex; flex-direction:column; gap:calc(14 * var(--u)); min-width:0; }
.nd-nav__link--next{ align-items:flex-end; text-align:right; }
.nd-nav__dir{
  display:inline-flex; align-items:center; gap:calc(14 * var(--u));
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(13px, calc(24 * var(--u))); line-height:1;
}
.nd-nav__link--prev .nd-nav__dir::before,
.nd-nav__link--next .nd-nav__dir::after{
  content:""; width:calc(12 * var(--u)); height:calc(16 * var(--u)); background:currentColor;
  transition:transform .3s var(--ease);
}
.nd-nav__link--prev .nd-nav__dir::before{ clip-path:polygon(100% 0, 100% 100%, 0 50%); }
.nd-nav__link--next .nd-nav__dir::after{ clip-path:polygon(0 0, 100% 50%, 0 100%); }
.nd-nav__link--prev:hover .nd-nav__dir::before{ transform:translateX(calc(-5 * var(--u))); }
.nd-nav__link--next:hover .nd-nav__dir::after{ transform:translateX(calc(5 * var(--u))); }
.nd-nav__title{
  max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-weight:500; font-size:max(12px, calc(16 * var(--u))); color:#999;
  transition:color .3s var(--ease);
}
.nd-nav__link:hover .nd-nav__title{ color:#fff; }
.nd-nav__link.is-disabled{ opacity:.25; }
.nd-nav__back{
  display:inline-flex; align-items:center; justify-content:center;
  width:calc(320 * var(--u)); height:calc(80 * var(--u));
  background:linear-gradient(90deg, #333 0%, #1d1d1d 40%, #111 62%, #191919 100%);
  font-weight:700; font-size:max(13px, calc(22 * var(--u))); letter-spacing:.1em;
  transition:background-color .3s var(--ease), color .3s var(--ease);
}
.nd-nav__back:hover{ color:var(--teal); }

/* ============================================================
   CONTACT (contact.html) — sizes in --u match the 1920px comp
   (261102_AIdea_web_pc_contact)
   ============================================================ */
.ct{ margin-top:calc(99 * var(--u)); }
.ct-panel{
  display:block; padding:calc(90 * var(--u)) calc(100 * var(--u)) calc(150 * var(--u));
  background:#fff; color:#000;
}
.ct-row{
  display:grid; grid-template-columns:calc(300 * var(--u)) 1fr; align-items:start;
  padding:calc(60 * var(--u)) 0 calc(59 * var(--u));
  border-bottom:1px solid #f0f0f0;
}
.ct-label{
  display:flex; align-items:center; gap:calc(10 * var(--u));
  padding-top:calc(28 * var(--u));
  font-weight:700; font-size:max(14px, calc(24 * var(--u))); line-height:1;
}
.ct-req{
  display:inline-flex; align-items:center; justify-content:center;
  width:calc(60 * var(--u)); height:calc(30 * var(--u)); border-radius:calc(5 * var(--u));
  background:var(--teal); color:#fff;
  font-size:max(10px, calc(16 * var(--u))); font-weight:700; letter-spacing:.05em;
}
.ct-input{
  display:block; width:100%; height:calc(84 * var(--u));
  padding:0 calc(26 * var(--u)); border:0; border-radius:calc(8 * var(--u));
  background:#f0f0f0; color:#000; outline:0;
  font:500 max(14px, calc(24 * var(--u)))/1.5 "Noto Sans JP", sans-serif;
  transition:box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.ct-input::placeholder{ color:#cbcbcb; }
.ct-input:focus{ background:#ebebeb; box-shadow:inset 0 0 0 2px var(--teal); }
.ct-input.is-invalid{ box-shadow:inset 0 0 0 2px #d23c3c; }
.ct-select{
  appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:calc(70 * var(--u));
  background:#f0f0f0 no-repeat right calc(31 * var(--u)) center / calc(20 * var(--u)) calc(12 * var(--u))
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 0h20L10 12z'/%3E%3C/svg%3E");
}
.ct-textarea{ height:calc(500 * var(--u)); padding-top:calc(24 * var(--u)); padding-bottom:calc(24 * var(--u)); resize:vertical; }
.ct-row--top .ct-textarea{ margin-top:calc(1 * var(--u)); }
/* consent: a grey square that fills teal with a tick; the text opens the privacy policy */
.ct-agree{ display:flex; align-items:center; gap:calc(10 * var(--u)); padding-top:calc(61 * var(--u)); }
.ct-check{
  appearance:none; -webkit-appearance:none; flex:none; margin:0; cursor:pointer;
  width:calc(40 * var(--u)); height:calc(40 * var(--u)); border-radius:calc(4 * var(--u));
  background:#f0f0f0 no-repeat center / 60%;
  transition:background-color .25s var(--ease);
}
.ct-check:checked{
  background-color:var(--teal);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.ct-check:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; }
.ct-check.is-invalid{ box-shadow:inset 0 0 0 2px #d23c3c; }
.ct-agree__link{
  font-weight:500; font-size:max(14px, calc(24 * var(--u))); line-height:1.25;
  text-decoration:underline; text-decoration-color:var(--teal); text-decoration-thickness:1px; text-underline-offset:calc(7 * var(--u));
}
.ct-agree__link:hover{ color:var(--teal); }
.ct-error{ margin-top:calc(30 * var(--u)); color:#d23c3c; font-weight:700; font-size:max(13px, calc(20 * var(--u))); text-align:center; }
.ct-submit{
  display:flex; align-items:center; justify-content:center;
  width:calc(500 * var(--u)); height:calc(120 * var(--u)); margin:calc(100 * var(--u)) auto 0;
  border:0; background:#000; color:#fff; cursor:pointer;
  font:700 max(15px, calc(24 * var(--u)))/1 "Noto Sans JP", sans-serif; letter-spacing:.4em; text-indent:.4em;
  transition:background-color .35s var(--ease);
}
.ct-submit:hover{ background:var(--teal); }
.ct-error:not([hidden]) + .ct-submit{ margin-top:calc(40 * var(--u)); }

/* ============================================================
   SECURITY POLICY (security-policy.html) — sizes match the comp
   (261102_AIdea_web_pc_securitypolicy)
   ============================================================ */
.sp{
  margin-top:calc(99 * var(--u));
  padding:calc(147 * var(--u)) calc(100 * var(--u)) calc(148 * var(--u));
  background:#fff; color:#000;
}
.sp__sec + .sp__sec{ margin-top:calc(193 * var(--u)); }
.sp__h2{ margin-bottom:calc(43 * var(--u)); font-weight:700; font-size:max(22px, calc(50 * var(--u))); line-height:1; letter-spacing:.02em; }
.sp__h3{ margin:calc(32 * var(--u)) 0 calc(32 * var(--u)); font-weight:700; font-size:max(16px, calc(30 * var(--u))); line-height:1; letter-spacing:.02em; }
.sp__p{
  font-weight:500; font-size:max(13px, calc(24 * var(--u))); line-height:calc(30 / 24);
  font-feature-settings:"halt"; letter-spacing:.015em;
}
.sp__p a{ color:var(--teal); text-decoration:underline; text-underline-offset:.2em; }

/* ---------- contact: sent (contact-thanks.html) — same panel as the form ---------- */
.ct-done{ padding:calc(150 * var(--u)) calc(100 * var(--u)); text-align:center; }
.ct-done__en{
  font-family:"Gotham","Montserrat",sans-serif; font-weight:500;
  font-size:max(14px, calc(28 * var(--u))); line-height:1; letter-spacing:.08em; color:var(--teal);
}
.ct-done__title{ margin-top:calc(30 * var(--u)); font-weight:700; font-size:max(22px, calc(48 * var(--u))); line-height:1.4; }
.ct-done__title::after{
  content:""; display:block; width:calc(20 * var(--u)); height:2px; margin:calc(40 * var(--u)) auto 0; background:#000;
}
.ct-done__text{ margin-top:calc(40 * var(--u)); font-weight:500; font-size:max(14px, calc(24 * var(--u))); line-height:1.9; }
.ct-done__note{ margin-top:calc(24 * var(--u)); font-weight:500; font-size:max(12px, calc(18 * var(--u))); line-height:1.8; color:#818181; }
.ct-done__btn{ margin-top:calc(90 * var(--u)); letter-spacing:.2em; text-indent:.2em; }
.ct-trap{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.ct-done__errors{
  display:inline-block; margin:calc(40 * var(--u)) auto 0; padding:0; list-style:none; text-align:left;
  font-weight:700; font-size:max(14px, calc(22 * var(--u))); line-height:1.8; color:#d23c3c;
}
.ct-done__errors li::before{ content:"・"; }

/* body copy is justified so every line ends flush on both sides; a sentence always ends its line
   (each 。 is followed by <br>), and lines ending at a <br> or a paragraph end stay ragged */
.msg__body p, .svc__lead, .svc-card__text, .news-item__text, .news-card__text, .nd__body p,
.co-msg__body p, .tl__desc, .ov__row dd, .sp__p, .appr__body, .offer__lead-text, .offer-item__detail dd{
  text-align:justify; text-justify:inter-character;
}

/* ============================================================
   SMARTPHONE (≤767px)
   --u is redefined as 1px of a 750px-wide phone comp (the SP layout of 260619_AIdea_web_sp,
   carried over to the current design). Everything above still applies; these rules only
   re-lay out what the 1920 comp places side by side or absolutely.
   ============================================================ */
br.sp{ display:none; }
@media (max-width: 767px){
  :root{ --u: calc(100vw / 750); }
  body{ overflow-x:clip; }
  br.pc{ display:none; }
  br.sp{ display:inline; }

  .wrap{ width:calc(680 * var(--u)); }

  /* ---------- header / menu ---------- */
  .header__logo{ left:calc(32 * var(--u)); top:calc(30 * var(--u)); width:calc(150 * var(--u)); }
  .menu-btn{ right:calc(32 * var(--u)); top:calc(36 * var(--u)); font-size:max(12px, calc(24 * var(--u))); }

  .drawer{ overflow-y:auto; }
  .drawer__list{ left:calc(50 * var(--u)); top:calc(200 * var(--u)); }
  .drawer__list li{ height:calc(126 * var(--u)); }
  .drawer__list a{ gap:calc(14 * var(--u)); }
  .drawer__en{ font-size:calc(84 * var(--u)); }
  .drawer__jp{ font-size:max(11px, calc(22 * var(--u))); }
  .drawer__list li::after{ top:calc(98 * var(--u)); width:calc(650 * var(--u)); }
  .drawer__contact{
    right:auto; left:calc(50 * var(--u)); top:calc(880 * var(--u));
    flex-direction:row; align-items:baseline; gap:calc(14 * var(--u));
  }
  .drawer__contact .drawer__jp{ margin-top:0; }

  /* ---------- hero: the title stacks on two lines (its second-line groups are moved under
     the first inside the SVG); the logo spans the bottom edge ---------- */
  .hero__catch{
    left:calc(35 * var(--u)); top:calc(50% - 77 * var(--u));
    /* sized so the longer first line ("AI meets human Ideas,", 1044.88 SVG units) spans the
       680 content width, so it sits centred; "for change." (522.35 units) is centred under it */
    width:calc(1600 * .6508 * var(--u));
  }
  .hero__catch .hc2{ transform:translate(-816.38px, 113px); }
  /* the logo's foot sits 650px down at 375px wide (1300 on the 750 comp) rather than on the
     hero's bottom edge, so browser toolbars never hide it; the hero is at least that tall */
  .hero{ min-height:max(520px, calc(1340 * var(--u))); }
  /* the screen's right edge sits 160px (at 375 wide) in from the video's right edge */
  .hero__video{ object-position:right calc(-320 * var(--u)) top 50%; }
  .hero__logo{
    left:calc(30 * var(--u)); width:calc(690 * var(--u));
    bottom:auto; top:calc((1300 - 690 * 448.47 / 1700.21) * var(--u));
  }

  /* ---------- section heading / VIEW MORE ---------- */
  .sec-head__en{ font-size:calc(110 * var(--u)); }
  .sec-head__jp{ margin-top:calc(22 * var(--u)); }
  .sec-head__jp::after{ width:calc(24 * var(--u)); margin-top:calc(20 * var(--u)); }
  .more-row{ text-align:center; }
  .more{ gap:calc(16 * var(--u)); }
  .more::after{ width:calc(20 * var(--u)); height:calc(20 * var(--u)); }

  /* ---------- message: the two catches and their line keep their sequence, the body
     runs below them in the flow ---------- */
  .msg{ height:auto; padding:calc(1010 * var(--u)) 0 calc(200 * var(--u)); }
  .msg__video{ left:calc(-200 * var(--u)); top:calc(260 * var(--u)); width:calc(1150 * var(--u)); }
  .msg__marquee{ top:calc(640 * var(--u)); font-size:calc(170 * var(--u)); }
  .msg__en{ font-size:max(14px, calc(30 * var(--u))); }
  .msg__jp{ font-size:max(20px, calc(46 * var(--u))); }
  .msg__catch--play{ right:calc(50 * var(--u)); top:calc(160 * var(--u)); }
  .msg__catch--play .msg__jp{ margin-top:calc(16 * var(--u)); }
  .msg__line{ left:calc(250 * var(--u)); top:calc(300 * var(--u)); width:calc(180 * var(--u)); height:calc(130 * var(--u)); }
  .msg__catch--create{ left:calc(50 * var(--u)); top:calc(446 * var(--u)); }
  .msg__catch--create .msg__jp{ margin:calc(16 * var(--u)) 0 0 calc(60 * var(--u)); }
  .msg__body{
    position:relative; left:auto; top:auto;
    padding:0 calc(70 * var(--u));
    font-size:max(13px, calc(27 * var(--u))); line-height:1.85;
  }
  .msg__body .msg__closing{ margin-top:calc(70 * var(--u)); font-size:max(18px, calc(40 * var(--u))); line-height:1.45; }

  /* ---------- service (home) ---------- */
  .svc{ padding:calc(180 * var(--u)) 0 calc(150 * var(--u)); }
  .sec-bg--svc{
    height:100%;
    -webkit-mask-image:linear-gradient(to bottom, transparent 2%, #000 12%, #000 85%, transparent 98%);
            mask-image:linear-gradient(to bottom, transparent 2%, #000 12%, #000 85%, transparent 98%);
    background-size:cover;
  }
  .svc__intro{ display:block; margin-top:calc(80 * var(--u)); }
  .svc__title{ padding-top:0; font-size:max(20px, calc(44 * var(--u))); }
  .svc__title-en{ margin-top:calc(18 * var(--u)); font-size:calc(52 * var(--u)); }
  .svc__lead{ margin-top:calc(50 * var(--u)); font-size:max(13px, calc(25 * var(--u))); line-height:1.85; }
  .svc__rule{ margin-top:calc(70 * var(--u)); }
  .svc__what{ margin-top:calc(70 * var(--u)); font-size:max(15px, calc(30 * var(--u))); gap:calc(16 * var(--u)); }
  .svc__what::before{ width:calc(18 * var(--u)); height:calc(22 * var(--u)); }
  .svc__cards{ grid-template-columns:1fr; gap:calc(24 * var(--u)); margin-top:calc(40 * var(--u)); }
  .svc-card{ height:auto; padding:calc(46 * var(--u)) calc(44 * var(--u)) calc(56 * var(--u)); border-radius:calc(16 * var(--u)); }
  .svc-card__no{ font-size:max(13px, calc(28 * var(--u))); }
  .svc-card__title{ margin-top:calc(40 * var(--u)); font-size:calc(58 * var(--u)); }
  .svc-card__sub{ margin-top:calc(16 * var(--u)); font-size:max(14px, calc(30 * var(--u))); line-height:1.4; }
  .svc-card__text{ margin-top:calc(40 * var(--u)); font-size:max(12px, calc(24 * var(--u))); line-height:1.75; }
  .svc .more-row{ margin-top:calc(50 * var(--u)); }

  /* ---------- news (home) ---------- */
  .news{ padding:calc(170 * var(--u)) 0 calc(150 * var(--u)); }
  .news__grid{ display:block; }
  .news__body{ margin-top:calc(70 * var(--u)); }
  .news__list li + li{ margin-top:calc(20 * var(--u)); }
  .news-item{
    display:block; height:auto;
    padding:calc(40 * var(--u)) calc(40 * var(--u)) calc(44 * var(--u));
    border-radius:calc(8 * var(--u));
  }
  .news-item:hover{ transform:none; }
  .news-item__date{ display:block; font-size:max(11px, calc(22 * var(--u))); }
  .news-item__main{
    min-height:0; margin-top:calc(26 * var(--u)); padding:calc(28 * var(--u)) 0 0;
    border-left:0; border-top:1px solid #c6c6c6;
  }
  .news-item__title{ font-size:max(14px, calc(30 * var(--u))); line-height:1.5; }
  .news-item__text{ -webkit-line-clamp:3; margin-top:calc(18 * var(--u)); font-size:max(12px, calc(24 * var(--u))); line-height:1.65; }
  .news .more-row{ margin-top:calc(50 * var(--u)); }

  /* ---------- partner: the headline breaks onto three lines, set left ---------- */
  .partner{ height:calc(1100 * var(--u)); }
  .partner__copy{ left:calc(40 * var(--u)); right:calc(40 * var(--u)); top:calc(330 * var(--u)); text-align:left; }
  .partner__en{ font-size:calc(82 * var(--u)); line-height:1.18; white-space:normal; }
  .partner__jp{ margin-top:calc(60 * var(--u)); font-size:max(18px, calc(40 * var(--u))); }

  /* ---------- company / contact: two banners, one above the other ---------- */
  .gate{
    flex-direction:column; gap:calc(20 * var(--u));
    width:calc(680 * var(--u)); height:auto; margin-top:calc(130 * var(--u));
  }
  .gate__item,
  .gate__item.is-open{ flex:none; width:100%; height:calc(400 * var(--u)); border-radius:calc(16 * var(--u)); }
  .gate__bg{ background-position:center; }
  .gate__en{
    top:auto; bottom:calc(150 * var(--u)); left:calc(40 * var(--u));
    writing-mode:horizontal-tb; font-size:calc(96 * var(--u));
  }
  .gate__jp{ left:calc(40 * var(--u)); top:auto; bottom:calc(84 * var(--u)); }
  .gate__more,
  .gate__item.is-open .gate__more{ top:auto; bottom:calc(78 * var(--u)); right:calc(40 * var(--u)); transform:none; opacity:1; }

  /* ---------- footer: menu first, then the logo and address ---------- */
  .footer{ margin-top:calc(60 * var(--u)); padding:calc(140 * var(--u)) 0 calc(60 * var(--u)); }
  .sec-bg--footer{ height:calc(1500 * var(--u)); background-size:cover; }
  .footer__inner{ flex-direction:column-reverse; align-items:stretch; padding-top:calc(60 * var(--u)); }
  .footer__nav a{ font-size:calc(68 * var(--u)); line-height:1.06; }
  .footer__info{ margin-top:calc(90 * var(--u)); }
  .footer__logo{ width:100%; }
  .footer__addr{ margin-top:calc(40 * var(--u)); font-size:max(12px, calc(24 * var(--u))); line-height:1.5; }
  .footer__zip{ margin-bottom:calc(6 * var(--u)); }
  .footer__copy{ margin-top:calc(90 * var(--u)); font-size:max(10px, calc(20 * var(--u))); }

  /* ---------- lower pages: shared ---------- */
  .page-bar{ height:calc(10 * var(--u)); }
  .sv-head{ padding-top:calc(220 * var(--u)); }
  .sec-head--page .sec-head__en{ font-size:calc(128 * var(--u)); white-space:nowrap; }
  .sub-head{ gap:calc(20 * var(--u)); font-size:calc(62 * var(--u)); }
  .sub-head::after{ width:calc(48 * var(--u)); height:calc(48 * var(--u)); }

  /* ---------- service page: approach ---------- */
  .appr{ padding-top:calc(160 * var(--u)); }
  .appr__body-wrap{ margin-top:calc(70 * var(--u)); }
  .appr__visual{ height:100%; width:calc(110 * var(--u)); }
  .appr__row{ height:auto; padding:calc(50 * var(--u)) 0 calc(56 * var(--u)) calc(150 * var(--u)); }
  .appr__row:not(:last-child)::after{ display:none; }
  .appr__no{ position:static; font-size:calc(90 * var(--u)); }
  .appr__en{ position:absolute; left:calc(330 * var(--u)); top:calc(84 * var(--u)); font-size:max(12px, calc(26 * var(--u))); }
  .appr__text{ position:static; width:auto; margin-top:calc(34 * var(--u)); }
  .appr__title{ font-size:max(17px, calc(36 * var(--u))); line-height:1.35; }
  .appr__body{ margin-top:calc(20 * var(--u)); font-size:max(12px, calc(24 * var(--u))); line-height:1.8; letter-spacing:.04em; }

  /* ---------- service page: offerings — trunk down the left, icon and label on one line,
     the details below ---------- */
  .offers{ padding:calc(180 * var(--u)) 0 calc(100 * var(--u)); }
  .offer{ margin-top:calc(110 * var(--u)); }
  .offer + .offer{ margin-top:calc(110 * var(--u)); padding-top:calc(100 * var(--u)); }
  .offer__head{ display:block; }
  .offer__en,
  .offer--avc .offer__en{ font-size:calc(68 * var(--u)); letter-spacing:-.02em; }
  .offer__lead{ padding-top:0; margin-top:calc(44 * var(--u)); }
  .offer__lead-title{ font-size:max(17px, calc(34 * var(--u))); line-height:1.4; }
  .offer__lead-title::after{ width:calc(24 * var(--u)); margin-top:calc(24 * var(--u)); }
  .offer__lead-text{ margin-top:calc(20 * var(--u)); font-size:max(13px, calc(25 * var(--u))); line-height:1.8; letter-spacing:.04em; }
  .offer__tree{ margin-top:0; padding-top:calc(70 * var(--u)); }
  .offer-item{ flex-wrap:wrap; align-items:center; }
  .offer-item + .offer-item{ margin-top:calc(70 * var(--u)); }
  .offer-item::before{ left:calc(30 * var(--u)); top:calc(-70 * var(--u)); }
  .offer-item:first-child::before{ top:calc(-70 * var(--u)); }
  .offer-item:last-child::before{ height:calc(125 * var(--u)); }
  .offer-item:first-child:last-child::before{ height:calc(125 * var(--u)); }
  .offer-item::after{ left:calc(30 * var(--u)); top:calc(55 * var(--u)); width:calc(40 * var(--u)); }
  .offer-item__icon{ width:calc(110 * var(--u)); height:calc(110 * var(--u)); margin:0 0 0 calc(80 * var(--u)); }
  .offer-item__label{ width:calc(400 * var(--u)); height:calc(80 * var(--u)); margin-left:calc(24 * var(--u)); font-size:max(15px, calc(32 * var(--u))); }
  .offer-item__details{ flex:0 0 100%; margin:calc(30 * var(--u)) 0 0; padding:0 0 0 calc(80 * var(--u)); }
  .offer-item__detail{ padding-left:calc(20 * var(--u)); border-left-width:3px; }
  .offer-item__detail + .offer-item__detail{ margin-top:calc(34 * var(--u)); }
  .offer-item__detail dt{ font-size:max(13px, calc(26 * var(--u))); line-height:1.4; }
  .offer-item__detail dd{ margin-top:calc(12 * var(--u)); font-size:max(12px, calc(23 * var(--u))); line-height:1.65; }

  /* ---------- company page ---------- */
  .co-splash{ top:calc(100 * var(--u)); height:calc(900 * var(--u)); }
  .co-catch{ margin-top:calc(80 * var(--u)); font-size:calc(48 * var(--u)); }
  /* the three-ring artwork carries its own labels, so it follows the list instead of sitting behind it */
  .mvv{ display:flex; flex-direction:column; margin-top:calc(150 * var(--u)); min-height:0; }
  .mvv__venn{ order:1; position:relative; left:auto; top:auto; width:calc(700 * var(--u)); margin:calc(60 * var(--u)) auto 0; }
  .mvv__row{ padding-left:0; }
  .mvv__row + .mvv__row{ margin-top:calc(100 * var(--u)); }
  .mvv__row::before{ left:calc(190 * var(--u)); top:calc(16 * var(--u)); width:calc(80 * var(--u)); }
  .mvv__label{ position:relative; top:auto; display:block; margin-bottom:calc(30 * var(--u)); font-size:max(15px, calc(32 * var(--u))); }
  .mvv__en{ font-size:max(11px, calc(24 * var(--u))); line-height:1.3; }
  .mvv__jp{ margin-top:calc(14 * var(--u)); font-size:max(16px, calc(34 * var(--u))); line-height:1.4; }
  .mvv__values{ padding-left:calc(50 * var(--u)); }
  .mvv__values li + li{ margin-top:calc(56 * var(--u)); }
  .mvv__values::before{ left:0; top:calc(69 * var(--u)); bottom:calc(24 * var(--u)); height:auto; }
  .mvv__values li::before,
  .mvv__values li + li::before{
    content:""; position:absolute; background:#fff;
    left:calc(-50 * var(--u)); top:calc(69 * var(--u)); width:calc(30 * var(--u)); height:1px;
    transform:scaleX(clamp(0, var(--e) * 2 - 1, 1)); transform-origin:0 50%;
  }

  .co-msg{ margin-top:calc(160 * var(--u)); }
  .co-msg__grid{ display:block; }
  .co-msg__photo{ width:calc(460 * var(--u)); height:calc(650 * var(--u)); margin-top:calc(60 * var(--u)); }
  .co-msg__text{ margin:calc(70 * var(--u)) 0 0; }
  .co-msg__title{ margin-top:0; font-size:max(18px, calc(40 * var(--u))); line-height:1.4; }
  .co-msg__body{
    margin-top:calc(40 * var(--u)); white-space:normal;
    font-size:max(13px, calc(26 * var(--u))); line-height:1.85; letter-spacing:.02em;
  }
  .co-msg__body p + p{ margin-top:calc(40 * var(--u)); }
  .co-msg__sign{ margin:calc(50 * var(--u)) 0 0; }
  .co-msg__sign img{ width:calc(260 * var(--u)); }

  .profile{ margin-top:calc(120 * var(--u)); }
  .profile__rule{ margin-left:0; height:calc(6 * var(--u)); }
  .profile__rule--bottom{ margin-top:calc(80 * var(--u)); }
  .profile__grid{ display:block; margin-left:0; }
  .profile__person{ padding-top:calc(60 * var(--u)); }
  .profile__role{ font-size:max(12px, calc(26 * var(--u))); line-height:1.3; }
  .profile__role--sub{ margin-top:calc(10 * var(--u)); font-size:max(11px, calc(24 * var(--u))); }
  .profile__en{ margin-top:calc(26 * var(--u)); font-size:max(13px, calc(28 * var(--u))); }
  .profile__name{ margin-top:calc(14 * var(--u)); font-size:max(18px, calc(40 * var(--u))); }
  .profile__history{ padding-top:calc(80 * var(--u)); }
  .profile__head{ font-size:calc(50 * var(--u)); }
  .tl{ margin-top:calc(50 * var(--u)); }
  .tl::before{ left:calc(100 * var(--u)); top:calc(14 * var(--u)); bottom:calc(14 * var(--u)); }
  .tl__item{ grid-template-columns:calc(70 * var(--u)) 1fr; column-gap:calc(60 * var(--u)); margin-bottom:calc(var(--gap) * 1.1 * var(--u)); }
  .tl__year{ font-size:max(11px, calc(22 * var(--u))); line-height:calc(38 / 22); }
  .tl__body::before{ left:calc(-37 * var(--u)); top:calc(12 * var(--u)); width:calc(14 * var(--u)); height:calc(14 * var(--u)); border-width:calc(4 * var(--u)); }
  .tl__title{ white-space:normal; font-size:max(13px, calc(26 * var(--u))); line-height:1.45; }
  .tl__desc{ white-space:normal; margin-top:calc(12 * var(--u)); font-size:max(12px, calc(23 * var(--u))); line-height:1.7; }

  .co-city{ margin-top:calc(150 * var(--u)); height:calc(460 * var(--u)); }
  .ov{ margin-top:calc(150 * var(--u)); }
  .ov__grid{ display:block; }
  .ov__table{ margin-top:calc(60 * var(--u)); }
  .ov__row dt{ width:calc(170 * var(--u)); padding-top:calc(40 * var(--u)); font-size:max(12px, calc(24 * var(--u))); line-height:1.6; }
  .ov__row dd{ flex:1; padding:calc(40 * var(--u)) 0; font-size:max(13px, calc(25 * var(--u))); line-height:1.6; }

  /* ---------- news page / article ---------- */
  .news-list{ margin-top:calc(80 * var(--u)); }
  .news-list__grid{ grid-template-columns:1fr; row-gap:calc(24 * var(--u)); }
  .news-card__link{ height:auto; padding:calc(40 * var(--u)) calc(40 * var(--u)) calc(50 * var(--u)); border-radius:calc(16 * var(--u)); }
  .news-card__date{ font-size:max(11px, calc(22 * var(--u))); }
  .news-card__date::after{ margin-top:calc(26 * var(--u)); }
  .news-card__title{ margin-top:calc(26 * var(--u)); font-size:max(14px, calc(30 * var(--u))); line-height:1.5; }
  .news-card__text{ margin-top:calc(18 * var(--u)); font-size:max(12px, calc(24 * var(--u))); line-height:1.65; letter-spacing:.04em; -webkit-line-clamp:3; }
  .pager{ margin-top:calc(80 * var(--u)); }
  .pager__nums{ margin:0 calc(50 * var(--u)); }
  .pager__nums a{ width:calc(64 * var(--u)); }
  .pager__arrow{ width:calc(20 * var(--u)); height:calc(26 * var(--u)); }

  .nd{ margin-top:calc(80 * var(--u)); padding-bottom:calc(100 * var(--u)); }
  .nd__grid{ display:block; }
  .nd__date{ padding-top:0; margin-bottom:calc(24 * var(--u)); font-size:max(12px, calc(24 * var(--u))); }
  .nd__title{ font-size:max(20px, calc(44 * var(--u))); }
  .nd__rule{ height:calc(6 * var(--u)); margin:calc(40 * var(--u)) 0 calc(50 * var(--u)); }
  .nd__body{ font-size:max(14px, calc(27 * var(--u))); line-height:1.9; letter-spacing:.03em; }
  .nd__body p + p{ margin-top:1.6em; }
  .nd-nav{ gap:calc(20 * var(--u)); margin-top:calc(100 * var(--u)); padding-top:calc(50 * var(--u)); }
  .nd-nav__title{ display:none; }
  .nd-nav__dir{ font-size:max(12px, calc(24 * var(--u))); gap:calc(12 * var(--u)); }
  .nd-nav__link--prev .nd-nav__dir::before,
  .nd-nav__link--next .nd-nav__dir::after{ width:calc(14 * var(--u)); height:calc(18 * var(--u)); }
  .nd-nav__back{ width:calc(300 * var(--u)); height:calc(96 * var(--u)); font-size:max(13px, calc(26 * var(--u))); }

  /* ---------- contact: labels over full-width fields; 16px text so iOS does not zoom ---------- */
  .ct{ margin-top:calc(80 * var(--u)); }
  /* the white panels run edge to edge, so the header (which turns dark over them) never
     straddles a panel edge */
  .ct-panel,
  .sp{ margin-left:calc(-35 * var(--u)); margin-right:calc(-35 * var(--u)); }
  .ct-panel{ padding:calc(40 * var(--u)) calc(36 * var(--u)) calc(90 * var(--u)); }
  .ct-row{ display:block; padding:calc(40 * var(--u)) 0 calc(44 * var(--u)); }
  .ct-label{ padding-top:0; margin-bottom:calc(20 * var(--u)); gap:calc(14 * var(--u)); font-size:max(14px, calc(28 * var(--u))); }
  .ct-req{ width:calc(72 * var(--u)); height:calc(36 * var(--u)); border-radius:calc(6 * var(--u)); font-size:max(10px, calc(20 * var(--u))); }
  .ct-input{ height:calc(96 * var(--u)); padding:0 calc(24 * var(--u)); border-radius:calc(8 * var(--u)); font-size:16px; }
  .ct-select{ padding-right:calc(64 * var(--u)); background-position:right calc(24 * var(--u)) center; background-size:calc(22 * var(--u)) calc(13 * var(--u)); text-overflow:ellipsis; }
  .ct-textarea{ height:calc(440 * var(--u)); padding-top:calc(22 * var(--u)); padding-bottom:calc(22 * var(--u)); }
  .ct-agree{ gap:calc(16 * var(--u)); padding-top:calc(50 * var(--u)); }
  .ct-check{ width:calc(48 * var(--u)); height:calc(48 * var(--u)); border-radius:calc(6 * var(--u)); }
  .ct-agree__link{ font-size:max(14px, calc(27 * var(--u))); text-underline-offset:4px; }
  .ct-error{ margin-top:calc(36 * var(--u)); font-size:max(13px, calc(25 * var(--u))); line-height:1.6; }
  .ct-submit{ width:100%; height:calc(110 * var(--u)); margin-top:calc(70 * var(--u)); font-size:max(15px, calc(30 * var(--u))); }
  .ct-error:not([hidden]) + .ct-submit{ margin-top:calc(36 * var(--u)); }

  .ct-done{ padding:calc(100 * var(--u)) calc(36 * var(--u)); }
  .ct-done__en{ font-size:max(13px, calc(28 * var(--u))); }
  .ct-done__title{ margin-top:calc(26 * var(--u)); font-size:max(20px, calc(44 * var(--u))); }
  .ct-done__title::after{ width:calc(24 * var(--u)); margin-top:calc(36 * var(--u)); }
  .ct-done__text{ margin-top:calc(40 * var(--u)); font-size:max(13px, calc(26 * var(--u))); line-height:1.85; }
  .ct-done__note{ margin-top:calc(24 * var(--u)); font-size:max(12px, calc(22 * var(--u))); line-height:1.7; }
  .ct-done__btn{ margin-top:calc(70 * var(--u)); }
  .ct-done__errors{ margin-top:calc(40 * var(--u)); font-size:max(13px, calc(25 * var(--u))); line-height:1.7; }

  /* ---------- security policy ---------- */
  .sp{ margin-top:calc(80 * var(--u)); padding:calc(80 * var(--u)) calc(36 * var(--u)) calc(100 * var(--u)); }
  .sp__sec + .sp__sec{ margin-top:calc(120 * var(--u)); }
  .sp__h2{ margin-bottom:calc(36 * var(--u)); font-size:max(20px, calc(42 * var(--u))); line-height:1.35; }
  .sp__h3{ margin:calc(40 * var(--u)) 0 calc(20 * var(--u)); font-size:max(15px, calc(30 * var(--u))); line-height:1.45; }
  .sp__p{ font-size:max(13px, calc(25 * var(--u))); line-height:1.8; letter-spacing:.02em; }
}
