@charset "UTF-8";
/* ==========================================================================
   GC Holdings corporate site - style.css
   PC design: 1366px / SP design: 375px (Figma 750px @2x)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
  --c-bg: #000c1d;             /* page background */
  --c-blue: #2251e3;           /* header / CTA blue */
  --c-blue-bright: #0428ff;    /* accent (sparkle, buttons) */
  --c-blue-deep: #26348c;      /* domains box / header button */
  --c-blue-mid: #15288f;       /* text on white circles */
  --c-footer: #000f70;         /* footer background */
  --c-panel: #2d303f;          /* AI panel */
  --c-panel-border: #676a6e;
  --c-sub: #a1a6b0;            /* sub text in panel */
  --c-accent-text: #0058f8;    /* hero highlight text */
  --c-line: #cdcdcd;           /* company info rules (PC) */
  --c-line-sp: #5d5d5f;        /* company info rules (SP) */
  --c-card-blue: #0b165b;      /* footer cards */
  --c-card-blue-hover: #15288f;

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Montserrat", var(--font-ja);
  --font-en-alt: "Montserrat Alternates", var(--font-en);
  --font-cond: "Roboto Condensed", var(--font-en);

  --header-h: 94px;            /* 17px top gap + 77px bar */
  --panel-open: 377px;
  --panel-closed: 50px;
  --panel-w: var(--panel-open);
  --page-pad: 20px;
  --main-gap: 22px;
  --main-left: calc(var(--page-pad) + var(--panel-w) + var(--main-gap));
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }

em { font-style: normal; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

svg { display: block; }

.star {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

.icon-arrow { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 17px var(--page-pad) 0;
  pointer-events: none;
}

.header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: 77px;
  padding: 0 16px 0 10px;
  background: var(--c-blue);
  border-radius: 10px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo {
  width: 62px;
  height: 65px;
}

.header__name {
  display: flex;
  flex-direction: column;
}

.header__name-en {
  font: 700 15px/14px var(--font-en-alt);
}

.header__name-ja {
  margin-top: 2px;
  font: 400 10px/15px var(--font-ja);
  opacity: .7;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.lang { position: relative; }

.lang__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 12px/16px var(--font-cond);
  color: #fff;
}

.lang__globe { width: 13px; height: 13px; fill: #fff; }
.lang__chevron { width: 7px; height: 4px; fill: #fff; margin-left: -4px; }

/* --------------------------------------------------------------------------
   Page shell (dark area = AI panel + main)
   -------------------------------------------------------------------------- */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--main-gap);
  padding: 0 var(--page-pad);
  background: var(--c-bg);
  border-radius: 0 0 40px 40px;
  container-type: inline-size;
}

/* --main-left は --panel-w を参照するため、.page 上で再定義する（:root では解決済みの値が継承されるため） */
.page {
  --panel-right: calc(var(--page-pad) + var(--panel-open));
  --main-left: calc(var(--page-pad) + var(--panel-open) + var(--main-gap));
}

.page[data-panel="closed"] {
  --panel-w: var(--panel-closed);
  --panel-right: calc(var(--page-pad) + var(--panel-closed));
  --main-left: calc(var(--page-pad) + var(--panel-closed) + var(--main-gap));
}

/* ぼけあし: ヒーロー下から事業領域あたりまでをわずかに青く */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(180deg, rgba(15, 32, 68, 0) 678px, rgba(15, 32, 68, .3) 4000px, rgba(15, 32, 68, 0) 4800px);
  pointer-events: none;
}

.main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   AI consultation panel (PC: sticky side panel)
   -------------------------------------------------------------------------- */
.ai-panel-home {
  flex: 0 0 var(--panel-w);
  align-self: stretch;
  width: var(--panel-w);
  transition: width .3s var(--ease), flex-basis .3s var(--ease);
}

.ai-panel {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 5;
  width: var(--panel-w);
  height: calc(100vh - var(--header-h) - 32px);
  min-height: 420px;
  max-height: 800px;
  margin-top: calc(var(--header-h) + 12px);
  background: var(--c-panel);
  border: 1px solid var(--c-panel-border);
  border-radius: 10px;
  overflow: hidden;
  transition: width .3s var(--ease), border-radius .3s;
}

.br-sp { display: none; }

.page[data-panel="closed"] .ai-panel { border-radius: 6px; }

.ai-panel__inner {
  width: var(--panel-open);
  height: 100%;
  padding: 34px 21px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
  transition: opacity .2s;
}

.page[data-panel="closed"] .ai-panel__inner {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ai-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
}

.ai-panel__head .star {
  color: var(--c-blue-bright);
}

.ai-panel__title {
  font: 700 20px/32px var(--font-ja);
}

.ai-panel__toggle {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: #9ca3af;
  transition: color .2s;
}

.ai-panel__toggle svg { width: 15px; height: 15px; fill: currentColor; }
.ai-panel__toggle:hover { color: #fff; }

.ai-panel__lead {
  margin-top: 20px;
  font: 400 14px/22.75px var(--font-ja);
  color: var(--c-sub);
}

.ai-form {
  position: relative;
  margin-top: 9px;
}

.ai-form__input {
  width: 100%;
  height: 40px;
  padding: 0 44px 0 11px;
  border: 1px solid rgba(0, 15, 112, .12);
  border-radius: 6px;
  background: #f4f5f9;
  color: #1b1f33;
  font: 400 12px/1 var(--font-ja);
  outline: none;
  appearance: none;
}

.ai-form__input::placeholder {
  color: #9ca3af;
  font-size: 10px;
}

.ai-form__input:focus { box-shadow: 0 0 0 2px rgba(34, 81, 227, .4); }

.ai-form__submit {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-footer);
  color: #fff;
  transition: background .2s;
}

.ai-form__submit:hover { background: var(--c-blue); }
.ai-form__submit svg { width: 11px; height: 11px; }

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.ai-chips button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #6b7280;
  border-radius: 14px;
  font: 400 12px/16px var(--font-ja);
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.ai-chips button:hover,
.ai-chips button:focus-visible {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.ai-features {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.ai-features li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
}

.ai-features .star {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--c-blue-bright);
}

.ai-features strong {
  display: block;
  font: 700 16px/20px var(--font-ja);
}

.ai-features span {
  display: block;
  margin-top: 4px;
  font: 400 12px/19.5px var(--font-ja);
  color: var(--c-sub);
}

/* 見積ボタン（パネルの最後。別システムを新しいタブで開く）。旧ヘッダーボタン「AIで見積もり」の見た目を引き継ぎ、幅はラベルに合わせる */
.ai-estimate { margin-top: 28px; }

.ai-estimate__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 45px;        /* 文言がパネルの幅に収まらないとき（英語版など）は 2 行に折り返して高さを伸ばす */
  padding: 6px 18px 6px 14px;
  background: var(--c-blue-deep);
  border-radius: 4px;
  color: #fff;
  font: 700 14px/20px var(--font-ja);
  letter-spacing: .3px;
  transition: background .25s, color .25s;
}

.ai-estimate__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #4967ff;
  color: #fff;
  overflow: hidden;
}

.ai-estimate__icon svg {
  width: 6px;
  height: 7px;
  transition: transform .25s;
}

.ai-estimate__btn:hover,
.ai-estimate__btn:focus-visible {
  background: #fff;
  color: var(--c-blue-bright);
}

.ai-estimate__btn:hover .ai-estimate__icon svg,
.ai-estimate__btn:focus-visible .ai-estimate__icon svg { transform: translateX(2px); }

.ai-estimate__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* PC・タブレット: パネルの中身が収まらない高さのときは、見積ボタンの帯をパネルの下端に貼り付ける（裏で他の中身がスクロールする）。
   パネル下端の余白（30px）は帯が受け持つ。.ai-panel__inner に下余白が残ると、貼り付いた帯の下にすき間ができ、裏の文字が透けるため */
@media (min-width: 768px) {
  .ai-panel:not(.is-aic-chat) .ai-panel__inner--estimate { padding-bottom: 0; }

  .ai-estimate {
    position: sticky;
    bottom: 0;
    z-index: 2;              /* チップ等より前、パネルの枠線（.ai-panel::before、z-index 3）より後ろ */
    margin: 12px -21px 0;    /* 左右はパネルの内余白（21px）まで広げて、裏の文字が横から透けないようにする */
    padding: 16px 21px 30px; /* 上 12+16=28px が一覧との間隔（通常時の見た目は変えない）。下 30px はパネルの下余白 */
    background: var(--c-panel);
  }

  /* 貼り付いたとき、裏でスクロールする文字を帯の上 12px でぼかす。通常時は一覧との間の空き（12px）に重なるだけで見えない */
  .ai-estimate::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 12px;
    background: linear-gradient(rgba(45, 48, 63, 0), var(--c-panel));
    pointer-events: none;
  }
}

/* collapsed tab (PC) */
.ai-panel__tab {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: var(--panel-closed);
  color: #fff;
}

.ai-panel__tab .star { color: var(--c-blue); }

.ai-panel__tab-text {
  writing-mode: vertical-rl;
  font: 700 16px/1 var(--font-ja);
  letter-spacing: 5px;
}

.page[data-panel="closed"] .ai-panel__tab { display: flex; }
.page[data-panel="closed"] .ai-panel:hover { background: #363a4b; }

/* SP overlay backdrop / floating button (hidden on PC) */
.ai-backdrop,
.fab { display: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 94px; /* header area */
}

/* 動画(970x584)＋右説明文のステージ。
   パネル閉: ページ中央に配置（デザイン PC_close と同じ）
   パネル開: パネル右側の領域の中央に配置（1366px ではデザイン PC_open と同じ位置になる）
   → パネルを閉じると動画・右説明文も左へ移動する。幅が足りない場合はパネル側に寄せ、右端で切れる */
/* --vw = ページ幅（スクロールバーを除く）。cqw 非対応ブラウザでは 100vw にフォールバック */
.page { --vw: 100vw; }

@supports (width: 1cqw) {
  .page { --vw: calc(100cqw + 2 * var(--page-pad)); }
}

.hero__stage {
  position: relative;
  width: min(970px, calc(var(--vw) - var(--panel-right)));
  margin-left: max(-22px, calc((var(--vw) - 970px) / 2 - var(--main-left)));
  transition: margin-left .3s var(--ease), width .3s var(--ease);
}

@media (min-width: 1200px) {
  /* パネル右端〜画面右端の領域の中央に 970px の動画を置く（1366px では x=396〜1366 = デザイン PC_open と一致） */
  .page[data-panel="open"] .hero__stage {
    margin-left: max(-22px, calc((var(--vw) - var(--panel-right) - 970px) / 2 - var(--main-gap)));
  }
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 970 / 584;
  background: var(--c-bg);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  position: absolute;
  left: 11px;
  bottom: 28px;
  z-index: 2;
}

.page[data-panel="closed"] .hero__copy { left: 19px; }

.hero__label {
  font: 500 14px/15px var(--font-en);
  text-transform: uppercase;
}

.hero__title {
  margin-top: 24px;
  font: 700 55px/80px var(--font-ja);
}

.hero__title em { color: var(--c-accent-text); }

/* 説明文は動画の右下に固定（動画と一緒に移動する） */
.hero__desc {
  position: absolute;
  right: 30px;
  bottom: 28px;
  z-index: 2;
  width: 336px;
  font: 400 18px/30px var(--font-ja);
}

.hero__desc em {
  color: var(--c-accent-text);
  font-weight: 700;
}

/* 英語版: 見出しが長いので、右下の説明文の手前で折り返す（幅が狭いと説明文に重なるため）。
   説明文の左端 = 動画の左端（.hero__stage の margin-left）＋動画の幅 − 30px − 説明文の幅 */
html[lang="en"] .hero {
  --hero-stage-w: min(970px, calc(var(--vw) - var(--panel-right)));
  --hero-stage-ml: max(-22px, calc((var(--vw) - 970px) / 2 - var(--main-left)));
  --hero-desc-w: 336px;
  --hero-copy-l: 11px;
}

html[lang="en"] .page[data-panel="closed"] .hero { --hero-copy-l: 19px; }

@media (min-width: 1200px) {
  html[lang="en"] .page[data-panel="open"] .hero {
    --hero-stage-ml: max(-22px, calc((var(--vw) - var(--panel-right) - 970px) / 2 - var(--main-gap)));
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  html[lang="en"] .hero { --hero-desc-w: 300px; --hero-copy-l: 19px; }
}

@media (min-width: 768px) {
  html[lang="en"] .hero__title {
    max-width: calc(var(--hero-stage-ml) + var(--hero-stage-w) - 30px - var(--hero-desc-w) - var(--hero-copy-l) - 24px);
  }
}

/* --------------------------------------------------------------------------
   Shared section parts
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  width: 833px;
  max-width: 100%;
  margin: 0 auto;
}

.label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 14px/15px var(--font-en);
  letter-spacing: 2.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.label span { opacity: .6; }

.sec-title {
  margin-top: 24px;
  font: 700 40px/50px var(--font-ja);
}

/* diagram scale wrapper: --ds = scale factor, --dsize = base size */
.diagram-wrap { --ds: 1; }

.diagram-scale {
  width: calc(var(--dsize) * var(--ds));
  height: calc(var(--dsize) * var(--ds));
  /* コンテナより大きい場合（SP）も中央に置く */
  margin: 0 0 0 calc(50% - (var(--dsize) * var(--ds)) / 2);
}

.diagram {
  position: relative;
  width: var(--dsize);
  height: var(--dsize);
  transform: scale(var(--ds));
  transform-origin: 0 0;
}

.ring {
  position: absolute;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Business flow
   -------------------------------------------------------------------------- */
.flow { padding-top: 168px; }

.flow__head,
.why__head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 280px;
}

.flow .diagram-wrap { --dsize: 575px; padding-top: 111px; }

.flow .ring--1 { inset: 0; background: rgba(4, 40, 255, .2); }
.flow .ring--2 { inset: 35px; background: rgba(4, 40, 255, .3); }
.flow .ring--3 { inset: 98px; background: rgba(0, 37, 255, .4); }

.flow-track {
  position: absolute;
  inset: 64.5px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
}

.flow-center {
  position: absolute;
  top: 217px;
  left: 0;
  right: 0;
  text-align: center;
}

.flow-center img {
  width: 104px;
  height: 109px;
  margin: 0 auto;
}

.flow-center p {
  margin-top: 19px;
  font: 700 20px/1 var(--font-ja);
}

.flow-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 134px;
  height: 134px;
  padding: 23px 6px 31px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-blue-mid);
  text-align: center;
}

.flow-item__num { font: 700 12px/13.5px var(--font-en); }

.flow-item__name {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  font: 600 15px/19.8px var(--font-ja);
}

.flow-item__en {
  font: 500 9px/12px var(--font-en);
  text-transform: uppercase;
  opacity: .6;
}

.flow-item--1 { left: 220px; top: 18px; }
.flow-item--2 { left: 395px; top: 96px; }
.flow-item--3 { left: 419px; top: 270px; }
.flow-item--4 { left: 312px; top: 417px; }
.flow-item--5 { left: 129px; top: 417px; }
.flow-item--6 { left: 22px; top: 270px; }
.flow-item--7 { left: 60px; top: 96px; }

.flow-arrow {
  position: absolute;
  width: 7px;
  height: 14px;
  color: #fff;
}

.flow-arrow svg {
  width: 7px;
  height: 14px;
}

.flow-arrow--1 { left: 387px; top: 80px; transform: rotate(27deg); }
.flow-arrow--2 { left: 513px; top: 240px; transform: rotate(80deg); }
.flow-arrow--3 { left: 469px; top: 429px; transform: rotate(129deg); }
.flow-arrow--4 { left: 292px; top: 517px; transform: rotate(178deg); }
.flow-arrow--5 { left: 113px; top: 437px; transform: rotate(228deg); }
.flow-arrow--6 { left: 60px; top: 248px; transform: rotate(278deg); }

.flow__text,
.why__text {
  width: 815px;
  max-width: 100%;
  margin: 50px auto 0;
  font: 500 22px/40px var(--font-ja);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Why one-stop
   -------------------------------------------------------------------------- */
.why { padding-top: 80px; }

.why .diagram-wrap { --dsize: 572px; padding-top: 133px; }

.why .ring--1 { inset: 0; background: rgba(4, 40, 255, .2); }
.why .ring--2 { inset: 33.5px; background: rgba(4, 40, 255, .3); }
.why .ring--3 { inset: 96.5px; background: rgba(0, 37, 255, .4); }

.why-item {
  position: absolute;
  width: 157px;
  height: 157px;
  border-radius: 50%;
  background: #f6f8fb;
  color: var(--c-blue-mid);
}

.why-item::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(21, 40, 143, .8);
  border-radius: 50%;
}

.why-item__icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.why-item__name {
  position: absolute;
  left: 0;
  right: 0;
  font: 700 15px/16.2px var(--font-ja);
  text-align: center;
}

.why-item--top { left: 205px; top: 27px; }
.why-item--top .why-item__icon { top: 29px; width: 54px; height: 53px; }
.why-item--top .why-item__name { top: 95px; }

.why-item--left { left: 28px; top: 199px; }
.why-item--left .why-item__icon { top: 32px; width: 51px; height: 55px; }
.why-item--left .why-item__name { top: 98px; }

.why-item--right { left: 391px; top: 199px; }
.why-item--right .why-item__icon { top: 43px; width: 50px; height: 44px; }
.why-item--right .why-item__name { top: 98px; }

.why-item--bottom { left: 205px; top: 380px; }
.why-item--bottom .why-item__icon { top: 36px; width: 57px; height: 53px; }
.why-item--bottom .why-item__name { top: 103px; }

.why-logo {
  display: none;
  position: absolute;
  left: 229px;
  top: 196px;
  width: 103px;
}

.why-center {
  position: absolute;
  left: 197px;
  top: 236px;
  width: 180px;
  font: 700 18px/30px var(--font-ja);
  text-align: center;
}

.why-note {
  position: absolute;
  width: 152px;
  font: 400 14px/19.8px var(--font-ja);
}

.why-note--tr { left: 398px; top: 75px; }
.why-note--tl { left: 22px; top: 114px; }
.why-note--br { left: 398px; top: 388px; }
.why-note--bl { left: 22px; top: 438px; }

.why-line {
  position: absolute;
  background: #fff;
}

.why-line--tr { left: 356px; top: 105px; width: 24px; height: 1px; }
.why-line--bl { left: 174px; top: 465px; width: 24px; height: 1px; }
.why-line--br { left: 463px; top: 357px; width: 1px; height: 24px; }
.why-line--tl { left: 97px; top: 176px; width: 1px; height: 24px; }

.why__text { margin-top: 72px; }

/* --------------------------------------------------------------------------
   Business domains
   -------------------------------------------------------------------------- */
.domains { margin-top: 110px; }

.domains__box {
  position: relative;
  padding: 118px 56px 93px;
  background: var(--c-blue-deep);
  border-radius: 6px;
}

/* 1366px のデザイン幅（カード4列）を上限にし、それ以上の画面では中央に寄せる */
.domains__inner {
  max-width: 1142px;
  margin: 0 auto;
}

.domains__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.domains__title {
  margin-top: 24px;
  font: 700 50px/54px var(--font-ja);
  letter-spacing: -.9px;
  color: #f4f4f2;
}

.domains__lead {
  width: 306px;
  margin-bottom: 2px;
  font: 400 18px/32px var(--font-ja);
  text-align: right;
  opacity: .7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
  margin-top: 64px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 366px;
  padding: 25px;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
}

.card__img {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, .92) 0%, rgba(8, 8, 8, .2) 60%, rgba(8, 8, 8, 0) 100%);
}

.card:hover .card__img img { transform: scale(1.06); }

.card__cat {
  font: 400 10px/12.35px var(--font-en);
  letter-spacing: .82px;
  text-transform: uppercase;
}

.card__title {
  margin-top: 8px;
  font: 900 18px/20.6px var(--font-ja);
}

.card__sub {
  margin-top: 11px;
  font: 700 14px/18.3px var(--font-ja);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.card__tags li {
  height: 18px;
  padding: 0 7px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6);
  font: 400 10px/18px var(--font-ja);
  white-space: nowrap;
}

/* CTA card */
.card--cta {
  align-items: center;
  justify-content: flex-start;
  padding: 72px 28px 0;
  background: var(--c-blue);
  color: #fff;
  text-align: center;
  transition: background .3s, color .3s;
}

.card--cta .star {
  width: 29px;
  height: 29px;
  color: #f4f4f2;
  transition: color .3s;
}

.card--cta__title {
  margin-top: 23px;
  font: 900 22px/27.45px var(--font-ja);
}

.card--cta__text {
  width: 217px;
  margin-top: 14px;
  font: 400 12.8px/20.8px var(--font-ja);
  opacity: .7;
}

.card--cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 37px;
  margin-top: 22px;
  padding: 0 22px;
  border-radius: 19px;
  background: #080808;
  color: #fff;
  font: 700 11px/37px var(--font-ja);
  transition: background .3s;
}

.card--cta__btn svg { width: 5px; height: 8px; }

.card--cta:hover {
  background: #fff;
  color: var(--c-blue-bright);
}

.card--cta:hover .star { color: var(--c-blue-bright); }
.card--cta:hover .card--cta__btn { background: var(--c-blue); }

/* --------------------------------------------------------------------------
   Latest project
   -------------------------------------------------------------------------- */
.project { margin-top: 20px; }

.project__box {
  position: relative;
  height: 340px;
  padding: 71px 40px;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
}

.project__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.project__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 15, 112, .7) 0%, rgba(0, 15, 112, 0) 100%);
}

.project__title {
  margin-top: 24px;
  font: 700 38px/47.5px var(--font-ja);
  letter-spacing: -.95px;
}

.project__text {
  width: 347px;
  max-width: 100%;
  margin-top: 24px;
  font: 400 17px/22.75px var(--font-ja);
}

.project__btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 186px;
  height: 60px;
  border-radius: 4px;
  background: #080808;
  font: 700 15px/60px var(--font-ja);
  letter-spacing: .3px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Marquee (COMPANY INFO)
   -------------------------------------------------------------------------- */
.marquee {
  width: 100vw;
  width: calc(100cqw + 2 * var(--page-pad));
  height: 70px;
  margin-top: 100px;
  margin-left: calc(-1 * var(--main-left));
  overflow: hidden;
  white-space: nowrap;
  transition: margin-left .3s var(--ease);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  height: 70px;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  font: 400 100px/70px var(--font-en);
  text-transform: uppercase;
}

.marquee .star {
  width: 22px;
  height: 22px;
  margin: 0 16px;
  color: var(--c-blue);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Company info
   -------------------------------------------------------------------------- */
.company {
  margin-top: 113px;
  padding-bottom: 295px;
}

.company__block {
  display: grid;
  grid-template-columns: minmax(180px, 400px) 1fr;
  padding: 40px 55px 0 54px;
  border-top: 1px solid var(--c-line);
}

.company__block + .company__block { margin-top: 64px; }

.company__title {
  font: 500 24px/32px var(--font-ja);
}

.co-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.co-row:first-child { padding-top: 0; }

.co-row dt,
.co-row__sub {
  font: 500 12px/16px var(--font-ja);
  opacity: .6;
}

.co-row dd,
.co-row__name {
  font: 400 14px/20px var(--font-ja);
}

.co-row dd { margin-top: 8px; }
.co-row__sub { margin-top: 8px; }

/* 取締役（1名1行）・主要銀行（銀行単位で折り返し） */
.co-row__list { margin: 0; padding: 0; list-style: none; }
.co-row__list li + li { margin-top: 4px; }
.co-row__keep { white-space: nowrap; }

.hist-row {
  display: grid;
  grid-template-columns: 73px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.hist-row:first-child { padding-top: 0; }

.hist-row dt {
  padding-top: 2px;
  font: 500 12px/16px var(--font-ja);
  opacity: .6;
}

.hist-row dd {
  font: 400 14px/20px var(--font-ja);
}

.company__map {
  grid-column: 1 / -1;
  height: 309px;
  margin-top: 64px;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e3df;
}

.company__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: -40px;
  padding: calc(40px + 97px) 70px 0;
  background: var(--c-footer);
  overflow: hidden;
}

.footer__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 44px 40px 40px;
  background: var(--c-card-blue);
  border: 1px solid #6e76a3;
  border-radius: 10px;
  transition: background .3s;
}

.fcard:hover { background: var(--c-card-blue-hover); }

.fcard .label .star { color: var(--c-blue-bright); }

.fcard__title {
  margin-top: 25px;
  font: 700 36px/32px var(--font-ja);
}

/* 見出しが長く 2 行に折り返しても、行が詰まらず、右上の矢印ボタン（.fcard__btn）に重ならないようにする（見積カード用） */
.fcard__title--wrap {
  margin-top: 18px;      /* 25px − 行間を広げた分の上側の半分（7px）。1 行のときの文字位置は .fcard__title と同じ */
  padding-right: 40px;   /* 矢印ボタンの左端（カード右端から 69px）と見出し右端（同 40px）の差 29px ＋ 余白 11px */
  font-size: 36px;
  line-height: 46px;
  text-wrap: balance;    /* 2 行のとき行の長さをそろえる（未対応ブラウザでは通常の折り返し） */
}

.fcard__body {
  margin-top: auto;
  padding-top: 24px;
}

.fcard__mail {
  margin-bottom: 6px;
  font: 400 16px/22.75px var(--font-ja);
}

.fcard__text {
  font: 400 14px/18px var(--font-ja);
  opacity: .7;
}

.fcard__btn {
  position: absolute;
  top: 120px;
  right: 31px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: var(--c-blue-bright);
  color: #fff;
  overflow: hidden;
}

.fcard__btn svg {
  width: 10px;
  height: 14px;
  transition: transform .3s var(--ease);
}

.fcard:hover .fcard__btn svg { transform: translateX(3px); }

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 83px -20px 0 -19px;
}

.footer__privacy {
  font: 400 15px/32px var(--font-ja);
  transition: opacity .2s;
}

.footer__privacy:hover { opacity: .7; }

.footer__copy {
  font: 400 15px/20px var(--font-en);
}

.footer__big {
  margin: 4px -70px 0;
  font: 500 13.2vw/1 var(--font-en);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -.01em;
  pointer-events: none; /* 飾りの文字。行の高さを詰めているため文字が上にはみ出し、すぐ上のプライバシーポリシーのリンクにかぶさる。クリックを受けないようにする */
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
/* JS が動作する環境（html.js）でのみ初期非表示にする。JS が無効/失敗してもコンテンツは見える */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation-duration: 120s; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Tablet adjustments (768px - 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .hero__title { font-size: 44px; line-height: 64px; }
  .hero__desc { width: 300px; font-size: 16px; line-height: 28px; }
  .domains__box { padding-left: 32px; padding-right: 32px; }
  .domains__title { font-size: 40px; line-height: 46px; }
  .company__block { grid-template-columns: 180px 1fr; padding-left: 24px; padding-right: 24px; }
  .company__map { margin-top: 48px; }
  .footer { padding-left: 32px; padding-right: 32px; }
  .footer__meta { margin-left: 0; margin-right: 0; }
  .footer__big { margin-left: -32px; margin-right: -32px; }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .footer__cards { grid-template-columns: 1fr; }
  .flow .diagram-wrap,
  .why .diagram-wrap { --ds: .85; }
  .flow .diagram-wrap { padding-top: 140px; }
  .why .diagram-wrap { padding-top: 160px; }
}

/* --------------------------------------------------------------------------
   Tablet (768px - 1199px): AI panel opens as an overlay above the content
   (the content keeps the collapsed layout; pushing it would leave < 400px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .page[data-panel="open"] {
    --panel-w: var(--panel-closed);
    --panel-right: calc(var(--page-pad) + var(--panel-closed));
    --main-left: calc(var(--page-pad) + var(--panel-closed) + var(--main-gap));
  }

  .page[data-panel="open"] .hero__copy { left: 19px; }

  .page[data-panel="open"] .ai-panel {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: var(--page-pad);
    z-index: 90;
    width: var(--panel-open);
    margin-top: 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .55);
  }

  /* 背面を暗くして、パネルが重なっていることを明示（クリックで閉じる） */
  .ai-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(16, 16, 16, .6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }

  .page[data-panel="open"] ~ .ai-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

/* --------------------------------------------------------------------------
   SP (<= 767px) - design base 375px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --header-h: 70px;
    --page-pad: 0px;
  }

  body { font-size: 13px; }

  /* header */
  .header { padding: 5px 5px 0; }

  .header__inner {
    height: 60px;
    padding: 0 7.5px 0 4.5px;
    border-radius: 5px;
  }

  .header__brand { gap: 9.5px; }
  .header__logo { width: 46.5px; height: 49px; }
  .header__name-en { font: 700 11.25px/10.5px var(--font-en-alt); }
  .header__name-ja { margin-top: 1.5px; font: 400 7.5px/11.25px var(--font-ja); opacity: .8; }
  .header__right { gap: 17px; }
  .lang__btn { gap: 5px; font: 700 9px/12px var(--font-cond); }
  .lang__globe { width: 10px; height: 10px; }
  .lang__chevron { width: 5px; height: 2.5px; margin-left: 0; }

  /* page shell */
  .page {
    display: block;
    padding: 0;
    border-radius: 0 0 20px 20px;
    container-type: normal;
  }

  .js .ai-panel-home { display: none; } /* JS がパネルをヒーロー内へ移動する。JS 無効時は先頭に表示 */
  .br-pc { display: none; }
  .br-sp { display: inline; }

  .page::before { background-image: linear-gradient(180deg, rgba(15, 32, 68, 0) 1000px, rgba(15, 32, 68, .3) 2400px, rgba(15, 32, 68, 0) 3000px); }

  /* AI panel: inline in hero */
  .ai-panel {
    position: relative;
    top: auto;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 133px 20px 0;
    border-radius: 3px;
    overflow: visible;
    transition: none;
  }

  .ai-panel__inner,
  .page[data-panel="closed"] .ai-panel__inner {
    width: auto;
    height: auto;
    padding: 32px 14px 32px 20px;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .ai-panel__tab { display: none !important; }

  .ai-panel__head { height: 14px; gap: 8px; }
  .ai-panel__head .star { width: 12px; height: 12px; }
  .ai-panel__title { font: 700 15px/14px var(--font-ja); letter-spacing: .2px; }
  .ai-panel__toggle { display: none; }

  .ai-panel__lead { margin-top: 28px; font: 400 11px/1 var(--font-ja); color: #99a1b0; }

  .ai-form { margin-top: 9px; }

  .ai-form__input {
    height: 30px;
    padding: 0 30px 0 12.5px;
    border: 0;
    border-radius: 2.5px;
    font-size: 11px;
  }

  .ai-form__input::placeholder { color: #717781; font-size: 10px; }

  /* 見た目は 16px の円のまま、ボタン自体は 28px にしてタップ領域を確保する（WCAG 2.2 の最小 24px） */
  .ai-form__submit { top: 1px; right: 1px; width: 28px; height: 28px; background: transparent; }
  .ai-form__submit::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--c-footer); transition: background .2s; }
  .ai-form__submit:hover::before { background: var(--c-blue); }
  .ai-form__submit svg { position: relative; width: 6.5px; height: 6.5px; }

  .ai-chips { gap: 6.5px 3px; margin-top: 24px; }

  .ai-chips button {
    height: 24px;
    padding: 0 8.5px;
    border: .8px solid #676973;
    border-radius: 12px;
    font: 400 9.6px/12.8px var(--font-ja);
  }

  .ai-features { gap: 7px; margin-top: 32px; }
  .ai-features li { grid-template-columns: 13px 1fr; }
  .ai-features .star { width: 9px; height: 9px; margin-top: 2px; }
  .ai-features strong { font: 700 12px/14px var(--font-ja); }
  .ai-features span { margin-top: 4px; font: 400 11px/15px var(--font-ja); color: #99a1b0; }

  .ai-estimate { margin-top: 22px; }
  .ai-estimate__btn { gap: 8px; min-height: 40px; padding: 6px 14px 6px 10px; font: 700 13px/15px var(--font-ja); }
  .ai-estimate__icon { width: 13.5px; height: 13.5px; }
  .ai-estimate__icon svg { width: 5px; height: 6px; }

  /* SP overlay state */
  .ai-panel.is-overlay {
    position: fixed;
    top: 70px;
    left: 5px;
    width: calc(100% - 40px);
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    margin: 0;
    z-index: 90;
    overflow-y: auto;
    animation: overlay-in .3s var(--ease);
  }

  .ai-panel.is-overlay .ai-panel__inner { padding: 37px 20px 51px; }

  @keyframes overlay-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }

  .ai-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(16, 16, 16, .8);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }

  body.is-modal .ai-backdrop { opacity: 1; pointer-events: auto; }
  body.is-modal { overflow: hidden; }

  /* floating button */
  .fab {
    display: flex;
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 95;
    flex-direction: column;
    align-items: center;
    width: 60px;
    height: 60px;
    padding-top: 8px;
    background: var(--c-blue);
    border: 1px solid var(--c-panel-border);
    border-radius: 3px;
    color: #fff;
    opacity: 0;
    visibility: hidden; /* 非表示中はキーボードフォーカスも受けない */
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .3s, transform .3s, visibility 0s .3s;
  }

  .fab.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .3s, transform .3s; }
  .fab .star { width: 15px; height: 15px; color: #fff; }
  .fab__close { display: none; width: 12.5px; height: 12.5px; margin-top: 7px; fill: #fff; }
  .fab__text { margin-top: 3px; font: 700 12px/14px var(--font-ja); text-align: center; white-space: nowrap; }
  .fab.is-close .star { display: none; }
  .fab.is-close .fab__close { display: block; }
  .fab.is-close .fab__text { margin-top: 5.5px; }

  /* hero */
  .hero {
    height: auto;
    padding: 93px 20px 0;
    overflow: hidden;
  }

  .hero__stage {
    position: static;
    width: auto;
    margin: 0;
    transition: none;
  }

  .hero__media {
    position: absolute;
    top: 277.5px;
    left: 0;
    width: 100%;
    aspect-ratio: 750 / 1334;
    margin-left: 0;
    z-index: 0;
    transform: scale(1.35);  /* design shows the globe larger than the raw 750x1334 clip */
    transform-origin: 50% 50%;
    transition: none;
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0, 12, 29, 0), var(--c-bg));
    pointer-events: none;
  }

  .hero__copy,
  .page[data-panel="closed"] .hero__copy {
    position: relative;
    left: auto;
    bottom: auto;
  }

  .hero__label { font: 400 11px/10px var(--font-en); }
  .hero__title { margin-top: 20px; font: 700 40px/52.7px var(--font-ja); }

  .hero__desc {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: auto;
    margin-top: 20px;
    font: 400 15px/25px var(--font-ja);
  }

  .hero__panel-slot {
    position: relative;
    z-index: 2;
    margin: 0 -20px;
  }

  /* sections */
  .section {
    width: auto;
    padding: 0 20px;
  }

  .label {
    gap: 10px;
    font: 400 10px/10px var(--font-cond);
    letter-spacing: 1.4px;
  }

  .label .star { width: 9px; height: 9px; }
  .sec-title { margin-top: 20px; font: 700 27.5px/35px var(--font-ja); }

  .flow__head,
  .why__head { left: 20px; width: 200px; }

  /* 図版は幅375pxに対し数px外側まで広がるため横スクロールを防ぐ */
  .flow,
  .why { overflow-x: clip; }

  .flow { padding-top: 80px; }
  .flow .diagram-wrap { --ds: .667; padding-top: 98px; }
  .flow__text,
  .why__text {
    width: auto;
    margin-top: 33px;
    font: 400 13px/20px var(--font-ja);
    text-align: left;
  }

  .why { padding-top: 80px; }
  .why .diagram-wrap { --ds: .667; padding-top: 117px; }
  .why__text { margin-top: 17.5px; }

  .why-logo { display: block; }
  .why-center {
    left: 192px;
    top: 308px;
    width: 195px;
    font: 700 19.5px/24px var(--font-ja);
  }

  .why-note {
    width: 141px;
    font: 500 15px/22.5px var(--font-ja);
  }

  .why-note--tr { left: 406px; top: 46px; }
  .why-note--tl { left: 25px; top: 72px; }
  .why-note--br { left: 413px; top: 394px; }
  .why-note--bl { left: 40px; top: 427px; }

  .why-line--tr { left: 364px; top: 89px; width: 33px; }
  .why-line--bl { left: 172px; top: 480px; width: 32px; }
  .why-line--br { left: 484px; top: 357px; height: 27px; }
  .why-line--tl { left: 91px; top: 172px; height: 27px; }

  /* domains */
  .domains { margin-top: 80px; padding: 0 10px; }

  .domains__box {
    padding: 60px 18px 50px;
    border-radius: 5px;
  }

  .domains__head { display: block; padding: 0 2px; }
  .domains__title { margin-top: 20px; font: 700 27.5px/35px var(--font-ja); letter-spacing: 0; }

  .domains__lead {
    width: 275px;
    max-width: 100%;
    margin: 20px 0 0;
    font: 400 13px/20px var(--font-ja);
    text-align: left;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .card {
    height: 170px;
    padding: 20px;
    border-radius: 4.5px;
  }

  .card__cat { font: 400 9px/10px var(--font-cond); letter-spacing: .65px; }
  .card__title { margin-top: 7px; font: 900 16px/16.3px var(--font-ja); }
  .card__sub { margin-top: 9px; font: 700 12px/14.5px var(--font-ja); }
  .card__tags { gap: 4.5px; margin-top: 7px; }
  .card__tags li { height: 16.5px; padding: 0 6px; border-radius: 10px; font: 400 10px/16.5px var(--font-ja); }

  .card--cta {
    padding: 18.5px 11px 0;
    background: var(--c-blue-bright);
  }

  .card--cta .star { width: 26px; height: 26px; color: #fff; }
  .card--cta__title { margin-top: 14.5px; font: 900 16px/21.7px var(--font-ja); }
  .card--cta__text { width: auto; margin-top: 7px; font: 400 12px/16.5px var(--font-ja); }
  .card--cta__btn { height: 29.5px; margin-top: 24.5px; padding: 0 17px; border-radius: 15px; font: 700 12px/29.5px var(--font-ja); }

  /* project */
  .project { margin-top: 32px; padding: 0 10px; }

  .project__box {
    height: auto;
    padding: 205.5px 20px 0;
    border-radius: 6px;
  }

  .project__bg::after {
    background: linear-gradient(to top, rgba(0, 15, 112, .7) 0%, rgba(0, 15, 112, 0) 100%);
  }

  .project__title { margin-top: 16px; font: 700 25px/35px var(--font-ja); letter-spacing: 0; }
  .project__text { width: 261.5px; margin-top: 12px; font: 400 13px/20px var(--font-ja); }

  .project__btn {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: calc(100% + 40px);
    height: 45px;
    margin: 20px -20px 0;
    border-radius: 0 0 6px 6px;
    background: #2a2a2a;
    font: 700 12px/45px var(--font-ja);
    letter-spacing: .2px;
  }

  /* marquee */
  .marquee { width: 100%; height: 52.5px; margin-top: 60px; margin-left: 0; }
  .marquee__track { height: 52.5px; }
  .marquee__item { font: 400 75px/52.5px var(--font-en); }
  .marquee .star { width: 24px; height: 24px; margin: 0 12px; }

  /* company */
  .company { margin-top: 60px; padding: 0 20px 109px; }

  .company__block {
    display: block;
    padding: 20px 0 0;
    border-top-color: var(--c-line-sp);
  }

  .company__block + .company__block { margin-top: 60px; }
  .company__title { font: 700 27.5px/35px var(--font-ja); }
  .company__rows { margin-top: 40px; }

  .co-row { padding: 20px 0 8px; border-bottom-color: var(--c-line-sp); }
  .co-row:first-child { padding-top: 0; }
  .co-row dt { font: 500 10px/10px var(--font-ja); }
  .co-row dd { margin-top: 8px; font: 400 12px/16px var(--font-ja); }

  .co-row--company { padding: 16px 0 14px; }
  .co-row--company:first-child { padding-top: 0; }
  .co-row__name { font: 700 13px/14px var(--font-ja); }
  .co-row__sub { margin-top: 5px; font: 400 11px/14px var(--font-ja); color: #6b7280; opacity: 1; }

  .hist-row {
    grid-template-columns: 69.5px 1fr;
    padding: 20px 0 15px;
    border-bottom-color: var(--c-line-sp);
  }

  .hist-row:first-child { padding-top: 0; }
  .hist-row dt { padding-top: 0; font: 500 10px/16px var(--font-ja); }
  .hist-row dd { font: 400 12px/16px var(--font-ja); }

  .company__map { height: 225px; margin-top: 32px; }

  /* footer */
  .footer {
    margin-top: -20px;
    padding: calc(20px + 50px) 20px 10px;
  }

  .footer__cards { grid-template-columns: 1fr; gap: 10px; }

  .fcard {
    min-height: 155px;
    padding: 30px 20px 15px;
    border-radius: 5px;
  }

  .fcard__title { margin-top: 16px; font: 700 20px/16px var(--font-ja); }
  .fcard__title--wrap { margin-top: 11px; padding-right: 24px; font-size: 20px; line-height: 26px; }
  .fcard__body { padding-top: 17px; }
  .fcard__mail { margin-bottom: 3px; font: 400 11px/16px var(--font-ja); }
  .fcard__text { font: 400 11px/16px var(--font-ja); }

  .fcard__btn {
    top: 68px;
    right: 19px;
    width: 19px;
    height: 19px;
    border-radius: 2.5px;
    background: #4967ff;
  }

  .fcard__btn svg { width: 6px; height: 8px; }

  .footer__meta {
    flex-direction: column;
    gap: 10px;
    margin: 38px 0 0;
    text-align: center;
  }

  .footer__privacy { font: 400 11.25px/18px var(--font-cond); }
  .footer__copy { font: 400 10px/18px var(--font-en); }
  .footer__big { margin: 4px -20px 0; font-size: 13.2vw; }
}

/* --------------------------------------------------------------------------
   言語切替メニュー（ヘッダー右上の JP / EN）
   -------------------------------------------------------------------------- */
.lang__chevron { transition: transform .25s var(--ease); }
.lang.is-open .lang__chevron { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 20;
  min-width: 136px;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 12, 29, .28);
}

.lang__menu[hidden] { display: none; }

.lang__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 5px;
  color: #000c1d;
  font: 700 12px/16px var(--font-cond);
  letter-spacing: .4px;
  text-decoration: none;
  white-space: nowrap;
}

.lang__menu a:hover,
.lang__menu a:focus-visible { background: rgba(34, 81, 227, .1); }
.lang__menu a[aria-current="page"] { color: #2251e3; background: rgba(34, 81, 227, .12); }

/* --------------------------------------------------------------------------
   英語版（en/index.html）: 文言が長くなる固定サイズの要素だけ調整する
   -------------------------------------------------------------------------- */
html[lang="en"] .flow-item__en,
html[lang="en"] .card__cat { display: none; }
html[lang="en"] .flow-item__name { font-size: 13px; line-height: 16px; }
html[lang="en"] .why-item__name { font-size: 13px; line-height: 15px; }
html[lang="en"] .why-center { font-size: 16px; line-height: 24px; }
html[lang="en"] .card__title { margin-top: 0; }
html[lang="en"] .why-note { width: 160px; font-size: 13px; line-height: 17px; }
html[lang="en"] .why-note--tl { top: 104px; }

@media (max-width: 767px) {
  html[lang="en"] .why-note { width: 150px; font-size: 14.5px; line-height: 20px; }
  html[lang="en"] .why-note--tl { top: 72px; }
  html[lang="en"] .flow .diagram-wrap { padding-top: 125px; }
}
