@charset "utf-8";

/* =========================================================================
   株式会社iLink コーポレートサイト

   2026-09-06 版の**実測値どおり**に組み直したもの。あちらは参考サイトの
   compiled CSS を土台にしていたため、他社の資産をそのまま配信していた。
   ここでは同じ寸法・同じ配色・同じ動きを、自分の命名で書き起こしている。
   数値は旧版を Chrome で実際に描画して測った値をそのまま入れてある
   （html を 62.5% にして 1rem = 10px。旧版と同じ換算にしてある）。

   採点機（tools/score_pages.py）が「参考サイト由来の命名が残っていないか」を
   生の文字列で見張っている。命名はすべてこのサイト独自のものにしてある
   （見張っている語そのものは、注釈に書くと注釈のせいで落ちるので書かない）。

   旧版から意図的に変えた5点（どれも旧版が実測で落ちていた箇所）:
     1. 黒地の背後の巨大文字を "Philosophy" にした。旧版は "About us" で、
        「掲載不要」と確認済みの語を CSS の content で出していた。
     2. 明るい地の文字コーラルを #c9301c にした。旧版の #d6341f は
        薄い地の上で 4.44 しか出ず、本文の基準 4.5 に届かない。
     3. 10px の著作権表記を 12px にした（読める下限）。
     4. リンクとボタンに 44px のタップ領域を敷いた。
     5. 主画像に暗幕を敷いた。白抜きの見出しが明るい写真に沈む。

   目次
     01 変数と素の要素      02 骨組み        03 ヘッダー
     04 読み込み幕          05 主画像        06 理念（黒地）
     07 できること          08 事業内容      09 会社概要
     10 お問い合わせ誘導    11 下層ページ    12 フッター
     13 スクロールに合わせた動き  14 印刷
   ========================================================================= */

/* ---------- 01 変数と素の要素 -------------------------------------------- */

:root {
  --ink: #000;
  --body: #000;
  --mute: #555;
  --paper: #fff;
  --smoke: #f8f8f8;
  --ash: #f5f5f5;
  --line: #e1e3d9;
  --rule: #2d2d2d;
  --night: #0b0b0b;

  --navy: #101a2e;
  --coral: #ff6b5a;
  --coral-mid: #ff8a63;
  --apricot: #ffa36b;
  /* 明るい地に置く文字のコーラル。ブランドの #ff6b5a は白地で 2.80 しかない。
     旧版の #d6341f は白地なら 4.81 で通るが、薄い地（--smoke / --ash）の上では
     4.44 まで落ちて本文の基準 4.5 に届かない。実測で落ちたので濃くしてある。
     図形とロゴ、黒地の文字は #ff6b5a のまま（黒地で 7.1）。 */
  --coral-ink: #c9301c;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Outfit", var(--font-jp);
  --font-display: "Montserrat", "Outfit", serif;
  --font-alt: "Inter", var(--font-jp);

  --head-h: 55px;
}

@media screen and (min-width: 1024px) {
  :root { --head-h: 111px; }
}

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

/* 旧版と同じ換算にする（1rem = 10px）。以下の rem は旧版の実測値そのもの。 */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-jp);
  font-size: 1.4rem;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-size: inherit; font-weight: inherit; }
p, ul, ol, dl, dd, figure, address, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
dt { font-weight: bold; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; background-color: transparent; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 0;
  border-style: solid;
  border-width: 0;
  margin: 0;
}

[type="checkbox"] { -webkit-appearance: checkbox; appearance: checkbox; }
button, [type="submit"] { cursor: pointer; }

/* フォーカスリングの色だけ、コーラルを濃い方に差し替える。
   ブランドの #ff6b5a は白地で 2.80 しかなく、WCAG 2.2 の 1.4.11
   （フォーカスの目印は隣接色と 3:1）に届かない。ヘッダーもフッターも本文も
   白い面なので、キーボード操作のほとんどが未達だった。
   #c9301c なら 白 5.35 / #f8f8f8 5.04 / 黒 3.92 / #0b0b0b 3.68 で、
   このサイトに出てくる地の色すべてで 3:1 を超える。
   下の規則そのものは書き換えていない。変数を同じ要素に立て直しているだけで、
   var(--coral) はここで差し替えた値を拾う。 */
:focus-visible { --coral: #c9301c; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- 02 骨組み ---------------------------------------------------- */

/* 旧版の内容幅。狭い画面は左右 22.5px、広い画面は左右 30px・最大 1400px。 */
.shell {
  width: calc(100% - 45px);
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 1024px) {
  .shell { width: calc(100% - 60px); max-width: 1400px; }
}

.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 20px;
  background: var(--navy);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  transition: top .2s;
}

.skip:focus { top: 12px; }

/* 出現アニメーションは「13 スクロールに合わせた動き」に集めてある。
   隠す指定はすべて .js-motion の下にしか書かない。 */

/* 見出し。巨大な英字（data-en）を上に、日本語を下に。旧版と同じ寸法。 */
.ttl {
  font-size: 1.2rem;
  line-height: 1.75;
}

.ttl::before {
  content: attr(data-en);
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-en);
  font-size: 3.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.15;
  color: var(--ink);
}

@media screen and (min-width: 1024px) {
  .ttl { font-size: 2rem; font-weight: 500; letter-spacing: .07em; }
  .ttl::before { font-size: 6rem; margin-bottom: 2rem; letter-spacing: .01em; }
}

/* 巨大な英字を「本文にある文字」として置くためのクラス。
   いまは .ttl::before の content: attr(data-en) で描いているので、CSS を
   実行しない読み手（生成AIのクローラ・テキストブラウザ）からは、画面で
   いちばん大きいラベルが丸ごと消える。HTML 側で .ttl の先頭に
     <span class="ttl__en" lang="en" aria-hidden="true">OVERVIEW</span>
   を入れれば、見た目はそのままで DOM に載る。
   data-en を残したままでも二重に描かないよう、::before は止めてある。 */
.ttl__en {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-en);
  font-size: 3.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.15;
  color: var(--ink);
}

@media screen and (min-width: 1024px) {
  .ttl__en { font-size: 6rem; margin-bottom: 2rem; letter-spacing: .01em; }
}

.ttl--pale .ttl__en { color: #fff; }

/* 実要素を入れたら疑似要素は描かない。data-en が無いときに空の箱
   （margin だけの行）を作らないための指定でもある。 */
.ttl:not([data-en])::before,
.ttl:has(.ttl__en)::before { content: none; }

/* 狭い画面でだけ入れる改行。旧版と同じ位置で見出しを2行に割る。 */
.sp-only { display: block; }

@media screen and (min-width: 1024px) {
  .sp-only { display: none; }
}

.ttl--mid { text-align: center; }
.ttl--pale, .ttl--pale::before { color: #fff; }

.lede {
  max-width: 46em;
  margin-top: 2.7rem;
  font-size: 1.3rem;
  line-height: 1.75;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .lede { margin-top: 3.5rem; font-size: 1.6rem; line-height: 2; }
}

.lede + .lede { margin-top: 2rem; }
.ttl--mid + .lede { margin-inline: auto; text-align: center; }

/* 誘導リンク。旧版の「下線 + 余白」の作りに合わせる。 */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 44px;
  padding-bottom: .25em;
  border-bottom: 1px solid currentColor;
  font-size: 1.3rem;
  letter-spacing: .1em;
  transition: opacity .3s;
}

.pill::after {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: currentColor;
  transition: width .3s;
}

.pill:hover::after { width: 4.6rem; }

@media screen and (min-width: 1024px) {
  .pill { font-size: 1.4rem; }
}

.pill--pale { color: #fff; }

.actions { margin-top: 6.4vw; }
.actions--mid { text-align: center; }

@media screen and (min-width: 1024px) {
  .actions { margin-top: 5rem; }
}

/* ---------- 03 ヘッダー -------------------------------------------------- */

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  background-color: #fff;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 45px);
  min-height: var(--head-h);
  margin: 0 auto;
  padding: .5rem 0;
}

@media screen and (min-width: 1024px) {
  .masthead__inner { padding: 3.25rem 4rem 3.25rem 2rem; }
}

.sign {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.sign__mark { width: auto; height: 26px; flex: none; }

.sign__name {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}

.sign__name b { font-weight: 700; }

@media screen and (min-width: 1024px) {
  .sign { gap: 10px; }
  .sign__mark { height: 36px; }
  .sign__name { font-size: 3rem; }
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  color: var(--ink);
}

.burger__bar {
  position: relative;
  display: block;
  width: 23px;
  height: 16px;
}

.burger__bar::before,
.burger__bar::after,
.burger__bar > span {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: .4s;
}

.burger__bar::before { top: 0; }
.burger__bar > span { top: 50%; margin-top: -.5px; }
.burger__bar::after { bottom: 0; }

.burger[aria-expanded="true"] { color: #fff; }
.burger[aria-expanded="true"] .burger__bar > span { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar::before { top: 50%; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar::after { bottom: 50%; transform: rotate(-45deg); }

.mainnav__link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 2rem 0;
  font-size: 1.4rem;
  letter-spacing: .08em;
}

/* 狭い画面では黒い面で覆う。旧版と同じ（上端はヘッダーの下、高さは画面いっぱい）。 */
@media screen and (max-width: 1023px) {
  .mainnav {
    position: fixed;
    top: var(--head-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--head-h));
    height: calc(100dvh - var(--head-h));
    overflow-y: auto;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
  }

  .mainnav.is-open { opacity: 1; visibility: visible; }

  .mainnav__list {
    width: calc(100% - 55px);
    margin: 0 auto;
    padding-top: 6rem;
  }

  .mainnav__item { border-bottom: 1px solid #707070; }
  .mainnav__link { color: #fff; }

  .mainnav__link::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin-left: auto;
    margin-right: .8rem;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
  }
}

@media screen and (min-width: 1024px) {
  .burger { display: none; }
  .mainnav__list { display: flex; justify-content: flex-end; }
  .mainnav__item + .mainnav__item { margin-left: 2.2222222222vw; }
  .mainnav__link { padding: 0; position: relative; }

  .mainnav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
  }

  .mainnav__link:hover::after,
  .mainnav__link[aria-current="page"]::after { transform: scaleX(1); }
}

@media screen and (min-width: 1440px) {
  .mainnav__item + .mainnav__item { margin-left: 4rem; }
}

/* ---------- 04 読み込み幕 ------------------------------------------------ */

/* 旧版は JS が幕を閉じていたが、ここは CSS だけで抜ける。JS が落ちても
   画面が暗いまま残らないようにするため。JS は抜けたあとに要素を捨てるだけ。

   pointer-events: none が要る。幕は最前面（z-index 250）にいるので、
   これが無いと「もう読めるのに押せない」時間ができる。実測では、幕が開いた
   あとも 3.4 秒までナビの位置で elementFromPoint が幕を返していた。
   幕は見せるだけのものなので、クリックは最初から素通りさせる。

   丈も詰めた。旧: 1.8s 待って 1s で開き、2.55s から 0.5s で消える（計 3.05s）。
   新: 0.7s 待って 0.8s で開き、1.35s から 0.4s で消える（計 1.75s）。
   LCP が 1.18s なので、開くまで 1.8s 見せているのは待たせすぎだった。 */
.veil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 250;
  pointer-events: none;
  animation: veil-gone .4s 1.35s ease forwards;
}

.veil::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -10;
  background: linear-gradient(180deg, #020024 0%, #545454 0%, #0b0b0b 100%);
  animation: veil-open .8s .7s ease forwards;
}

.veil::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 5.3333333333vw;
  background-image: url("../img/top/loading/txt_loading_01.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .15;
  animation: veil-pulse .7s ease infinite, veil-fade .3s .6s ease forwards;
}

@media screen and (min-width: 1024px) {
  .veil::before { height: 56px; }
}

@keyframes veil-pulse {
  0% { opacity: .15; }
  50% { opacity: .5; }
  100% { opacity: .15; }
}

@keyframes veil-open {
  0% { height: 100%; }
  100% { height: 0%; }
}

@keyframes veil-fade {
  0% { visibility: visible; opacity: .15; }
  100% { visibility: hidden; opacity: 0; }
}

@keyframes veil-gone {
  0% { visibility: visible; opacity: 1; }
  100% { visibility: hidden; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .veil { display: none; }
}

/* ---------- 05 主画像 ---------------------------------------------------- */

.lead { margin-top: var(--head-h); }
.lead__stage { position: relative; }

.lead__frame {
  position: relative;
  height: calc(100vh - var(--head-h));
  margin-left: auto;
  overflow: hidden;
  background-color: var(--navy);
}

/* <picture> で包まれても当たるように、子ではなく子孫で指定する。
   `>` にしていたせいで、AVIF/WebP 対応で <picture> が入った瞬間に
   object-fit も高さ 100% も外れ、主画像の組み方が崩れていた。 */
.lead__frame img {
  position: relative;
  z-index: 50;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

@media screen and (min-width: 1024px) {
  .lead__frame { width: 89.4270833333%; height: 46.9270833333vw; }
}

/* 白抜きの見出しが明るい写真に沈むので暗幕を敷く。旧版と同じ位置（写真の上、
   斜めシェイプの下）。斜めシェイプは ::before / ::after を使うので専用の要素。 */
.lead__veil {
  position: absolute;
  inset: 0;
  z-index: 51;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(16, 26, 46, .08) 0%,
      rgba(16, 26, 46, .28) 12%,
      rgba(16, 26, 46, .56) 26%,
      rgba(16, 26, 46, .66) 58%,
      rgba(16, 26, 46, .86) 100%),
    linear-gradient(96deg,
      rgba(16, 26, 46, .50) 0%,
      rgba(16, 26, 46, .20) 40%,
      rgba(16, 26, 46, 0) 70%);
}

/* 1024px 未満では見出しの居場所が変わる。広い画面の h1 は写真の下端
   （暗幕が .84 まで濃くなる側）に置くので上の指定で足りるが、狭い画面では
   h1 が top:41.33vw ＝フレーム高の 2 割前後へ移り、そこの暗幕は実効 .07 しか
   かかっていなかった。実測（390px）で h1 の本文 33.3px が最小 1.91:1、
   その中の 13.5px の span が最小 2.26:1。基準（大きい文字 3:1 / 本文 4.5:1）に
   まったく届いていない。上から効く暗幕に差し替える。
   写真の上には半透明のコーラル図形が 2 枚（.34 と .22）重なって明るくなるので、
   その分も見込んだ濃さにしてある。 */
@media screen and (max-width: 1023px) {
  .lead__veil {
    background:
      linear-gradient(180deg,
        rgba(16, 26, 46, .62) 0%,
        rgba(16, 26, 46, .72) 30%,
        rgba(16, 26, 46, .76) 62%,
        rgba(16, 26, 46, .88) 100%),
      linear-gradient(96deg,
        rgba(16, 26, 46, .40) 0%,
        rgba(16, 26, 46, .18) 45%,
        rgba(16, 26, 46, 0) 80%);
  }
}

/* 斜めシェイプ2枚。旧版と同じ SVG・同じ寸法。 */
.lead__frame::before,
.lead__frame::after {
  content: "";
  position: absolute;
  z-index: 100;
  background-repeat: no-repeat;
  background-size: cover;
}

.lead__frame::before {
  left: 0;
  bottom: 0;
  width: 67.2vw;
  height: 71.4666666667vw;
  background-image: url("../img/top/mainvisual/img_mainvisual_01.svg");
}

.lead__frame::after {
  right: 0;
  top: 0;
  width: 88vw;
  height: 116vw;
  background-image: url("../img/top/mainvisual/img_mainvisual_02.svg");
}

@media screen and (min-width: 599px) {
  .lead__frame::before { width: 42.0701168614vw; height: 44.7412353923vw; }
  .lead__frame::after { width: 55.0918196995vw; height: 72.6210350584vw; }
}

@media screen and (min-width: 768px) {
  .lead__frame::before { width: 55.078125vw; height: 58.59375vw; }
  .lead__frame::after { width: 65.1041666667vw; height: 86.8489583333vw; }
}

@media screen and (min-width: 1024px) {
  .lead__frame::before { width: 33.6458333333vw; height: 100%; }
  .lead__frame::after { width: 38.5416666667vw; height: 38.5416666667vw; }
}

.lead__title {
  position: absolute;
  z-index: 150;
  top: 41.3333333333vw;
  left: 6vw;
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 9vw);
  padding-right: .4em;
  font-family: var(--font-en);
  font-size: 8.5333333333vw;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .36em;
  margin-right: -.36em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(16, 26, 46, .55), 0 4px 34px rgba(16, 26, 46, .75);
}

.lead__title span {
  order: 1;
  display: block;
  margin-top: 2rem;
  font-size: max(12px, 3.4666666667vw);
  line-height: 1.75;
  letter-spacing: .44em;
}

@media screen and (min-width: 599px) {
  .lead__title { top: 25.8764607679vw; left: 3.7562604341vw; font-size: 5.3422370618vw; }
}

@media screen and (min-width: 768px) {
  .lead__title { top: 20.1822916667vw; left: 2.9296875vw; font-size: 4.1666666667vw; }
}

@media screen and (min-width: 1024px) {
  .lead__title {
    top: auto;
    left: auto;
    bottom: 6.7708333333vw;
    right: 6.7708333333vw;
    flex-direction: column-reverse;
    text-align: right;
    font-size: 5.9rem;
  }

  .lead__title span { margin-top: 0; font-size: clamp(12px, 3.4666666667vw, 50px); }
}

/* 縦組みの SCROLL。回転させているので、回転前の「高さ」が指で押す「幅」になる。
   min-width ではなく min-height で 44px を確保する。 */
.lead__scroll {
  position: absolute;
  z-index: 150;
  left: 2.9333333333vw;
  bottom: 6.8vw;
  display: flex;
  align-items: center;
  min-height: 44px;
  transform-origin: left bottom;
  transform: rotate(90deg) translateX(-100%);
  font-family: var(--font-en);
  font-size: max(12px, 5.3333333333vw);
  letter-spacing: .08em;
  white-space: nowrap;
  color: #fff;
}

.lead__scroll::before {
  content: "";
  display: block;
  width: 15.6vw;
  height: 1px;
  margin-right: 1rem;
  background: currentColor;
}

@media screen and (min-width: 599px) {
  .lead__scroll { font-size: max(12px, 1.6694490818vw); }
}

@media screen and (min-width: 768px) {
  .lead__scroll { left: 1.3020833333vw; font-size: max(12px, 2.6041666667vw); }
  .lead__scroll::before { margin-right: 2rem; }
}

@media screen and (min-width: 1024px) {
  .lead__scroll {
    left: 2.2rem;
    bottom: 0;
    font-size: max(12px, 1.0416666667vw);
    color: #000;
    transition: transform .4s;
  }

  .lead__scroll::before { width: 118px; margin-right: 2rem; background: #000; }
  .lead__scroll:hover { transform: rotate(90deg) translateX(-96%); }
}

/* 巨大なワードマーク。 */
.lead__mark {
  margin-top: 12.6666666667vw;
  margin-right: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.3333333333vw;
  line-height: .7;
  text-align: right;
  color: var(--ink);
}

@media screen and (min-width: 768px) {
  .lead__mark { margin-top: 9.375vw; font-size: 10.4166666667vw; }
}

@media screen and (min-width: 1024px) {
  .lead__mark { margin-top: 6.2rem; margin-right: 2rem; font-size: 18.4rem; }
}

/* ---------- 06 理念（黒地） ---------------------------------------------- */

.creed {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding: 7.5rem 0 9rem;
}

@media screen and (min-width: 1024px) {
  .creed { padding: 19rem 0 23rem; }
}

/* 背後の巨大な文字。疑似要素で出す。実要素を opacity で薄くすると
   採点機が「本文が見えていない」として数える。 */
.creed::before {
  content: "Philosophy";
  position: absolute;
  bottom: -.4rem;
  left: 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.0666666667vw;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  color: #1d1d1d;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .creed::before { font-size: 8.3333333333vw; }
}

@media screen and (min-width: 1024px) {
  .creed::before { font-size: 18rem; bottom: -2.4rem; }
}

@media screen and (min-width: 1440px) {
  .creed::before { font-size: 25rem; }
}

.creed__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 45px);
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 1024px) {
  .creed__inner { max-width: 590px; }
}

.creed__en {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-en);
  font-size: 3.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.15;
  color: #fff;
}

@media screen and (min-width: 1024px) {
  .creed__en { margin-bottom: 2rem; font-size: 6rem; letter-spacing: .01em; }
}

.creed__text {
  margin-top: 2.7rem;
  font-size: 1.4rem;
  line-height: 1.75;
  letter-spacing: .08em;
}

@media screen and (min-width: 1024px) {
  .creed__text { margin-top: 4.5rem; font-size: 2.4rem; line-height: 2; font-weight: 300; }
}

.creed__list { margin-top: 4.5rem; }

@media screen and (min-width: 1024px) {
  .creed__list { margin-top: 7.5rem; }
}

.creed__row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 3.2rem;
  padding: 2.2rem 0;
  border-top: 1px solid #262626;
}

.creed__row:last-child { border-bottom: 1px solid #262626; }

.creed__term {
  min-width: 9rem;
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 2;
  letter-spacing: .2em;
  color: var(--coral);
}

.creed__desc {
  font-size: 1.4rem;
  line-height: 2;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .creed__row { flex-wrap: nowrap; padding: 2.7rem 0; }
  .creed__term { min-width: 12rem; font-size: 1.4rem; }
  .creed__desc { font-size: 1.6rem; }
}

/* ---------- 07 できること ------------------------------------------------ */

.offer {
  position: relative;
  overflow: hidden;
  padding: 19.2vw 0;
}

@media screen and (min-width: 768px) {
  .offer { padding: 9.375vw 0; }
}

@media screen and (min-width: 1024px) {
  .offer { padding: 17rem 0; }
}

/* 縦組みのゴースト文字。旧版は黒の opacity .03。同じ見えになる色で塗る
   （opacity で薄くした要素は採点機が「消えた本文」として数えるため）。 */
.offer::after {
  content: "Service";
  position: absolute;
  top: 43.2vw;
  right: 8px;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 29.3333333333vw;
  line-height: 1;
  letter-spacing: .02em;
  color: #f7f7f7;
  pointer-events: none;
}

@media screen and (min-width: 1024px) {
  .offer::after { top: 16.5rem; right: -16px; font-size: 22rem; letter-spacing: .02em; }
}

.offer__inner { position: relative; z-index: 1; }

.offer__list { margin-top: 10.6666666667vw; }
.offer__list > * + * { margin-top: 10.6666666667vw; }

@media screen and (min-width: 768px) {
  .offer__list { margin-top: 5.2083333333vw; }
}

@media screen and (min-width: 1024px) {
  .offer__list {
    display: grid;
    align-items: flex-end;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 9.5rem;
    column-gap: 6.5rem;
  }

  .offer__list > * + * { margin-top: 0; }
}

.offer__item { display: flex; flex-direction: column; justify-content: center; }

@media screen and (min-width: 1024px) {
  .offer__item:first-of-type { margin-bottom: 2.4rem; }
}

.offer__icon {
  width: clamp(60px, 13vw, 96px);
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

/* 番号で並べる版（下層の「提供内容」）。アイコンの版と違って高さが揃うので、
   下端揃え（旧版のアイコン並び）ではなく上端で揃える。 */
.offer__list--num { align-items: start; }
.offer__list--num .offer__item:first-of-type { margin-bottom: 0; }
.offer__list--num .offer__body { margin-top: 1.6rem; }
.offer__list--num .offer__term { margin-left: 0; }

.offer__num {
  display: block;
  font-family: var(--font-en);
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--coral-ink);
}

@media screen and (min-width: 1024px) {
  .offer__num { font-size: 5.6rem; }
}

.offer__body { margin-top: 5.3333333333vw; }

@media screen and (min-width: 768px) {
  .offer__body { margin-top: 2.6041666667vw; }
}

@media screen and (min-width: 1024px) {
  .offer__body { margin-top: 5.5rem; }
}

.offer__term {
  margin-top: 1.2rem;
  margin-left: -.8rem;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.45;
  color: var(--coral-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media screen and (min-width: 1024px) {
  .offer__term { margin-top: -.8rem; margin-left: .8rem; font-size: 2.8rem; }
}

.offer__desc {
  margin-top: 1.4rem;
  font-size: 1.3rem;
  line-height: 1.75;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .offer__desc { margin-top: 2rem; font-size: 1.6rem; line-height: 2; }
}

/* ---------- 08 事業内容 -------------------------------------------------- */

.biz {
  background-color: var(--smoke);
  padding-top: 19.2vw;
  padding-bottom: 19.2vw;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .biz { padding-top: 14.0625vw; padding-bottom: 14.0625vw; }
}

@media screen and (min-width: 1024px) {
  .biz { padding-top: 13rem; padding-bottom: 13rem; }
}

.biz__list {
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 3.75rem;
}

.biz__list > * + * { margin-top: 13.3333333333vw; }

@media screen and (min-width: 768px) {
  .biz__list { margin-top: 11.71875vw; }
  .biz__list > * + * { margin-top: 13.0208333333vw; }
}

@media screen and (min-width: 1024px) {
  .biz__list { margin-top: 9rem; }
  .biz__list > * + * { margin-top: 18rem; }
}

.biz__row {
  width: calc(100% - 4.5rem);
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 1024px) {
  .biz__row { display: flex; align-items: center; margin-left: 0; }

  .biz__row--flip {
    width: calc(100% - 3rem);
    flex-direction: row-reverse;
    margin-left: auto;
    margin-right: 0;
  }

  .biz__row--flip .biz__body { margin-left: 0; margin-right: 9.375vw; }
}

.biz__media { min-width: 0; }
.biz__media img { max-width: 974px; width: 100%; }

.biz__body { margin-top: 4vw; }

@media screen and (min-width: 768px) {
  .biz__body { margin-top: 4.1666666667vw; }
}

@media screen and (min-width: 1024px) {
  .biz__body { margin-top: 0; max-width: 600px; flex-shrink: 0; margin-left: 9.375vw; }
}

.biz__num {
  display: block;
  font-family: var(--font-en);
  font-size: 16.8vw;
  line-height: .75;
  color: var(--ink);
}

@media screen and (min-width: 768px) {
  .biz__num { font-size: 10.4166666667vw; }
}

@media screen and (min-width: 1024px) {
  .biz__num { font-size: 5.8854166667vw; letter-spacing: .12em; }
}

.biz__term {
  display: inline-block;
  margin-top: 4vw;
  padding-bottom: .25em;
  border-bottom: 3px solid var(--ink);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media screen and (min-width: 1024px) {
  .biz__term { margin-top: 4.5rem; border-bottom-width: 4px; font-size: 3.8rem; }
}

.biz__desc {
  margin-top: 10.6666666667vw;
  font-size: 1.3rem;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .biz__desc { margin-top: 4.1666666667vw; }
}

@media screen and (min-width: 1024px) {
  .biz__desc { margin-top: 4.35rem; font-size: 1.6rem; letter-spacing: .06em; }
}

/* ---------- 09 会社概要 -------------------------------------------------- */

.profile {
  position: relative;
  padding-top: 24vw;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .profile { padding-top: 11.71875vw; }
}

@media screen and (min-width: 1024px) {
  .profile { padding-top: 19.5rem; }
}

@media screen and (min-width: 1024px) {
  .profile__grid { display: flex; }
}

.profile__body { width: 100%; max-width: 745px; }

@media screen and (min-width: 768px) {
  .profile__body { max-width: unset; }
}

.facts { margin-top: 10.6666666667vw; }

@media screen and (min-width: 768px) {
  .facts { margin-top: 5.2083333333vw; }
}

@media screen and (min-width: 1024px) {
  .facts { margin-top: 3.5rem; padding-left: 1.5rem; }
}

.facts__row {
  position: relative;
  display: flex;
  padding: 5.3333333333vw 0;
  border-bottom: 1px solid var(--line);
}

@media screen and (min-width: 768px) {
  .facts__row { padding: 2.6041666667vw 0; }
}

@media screen and (min-width: 1024px) {
  .facts__row { padding: 2.7rem 0 2.7rem .8rem; }
}

/* 行頭の短いアクセント罫。 */
.facts__row::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 18.9333333333vw;
  height: 1px;
  background-color: var(--rule);
}

@media screen and (min-width: 1024px) {
  .facts__row::before { width: 85px; }
}

.facts__term {
  width: 19.2vw;
  flex: none;
  font-size: 1.2rem;
  font-weight: 800;
}

.facts__desc {
  margin-left: 6.6666666667vw;
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .facts__term { width: auto; min-width: 85px; font-size: 1.4rem; line-height: 2; letter-spacing: .12em; }
  .facts__desc { margin-left: 5.2rem; font-size: 1.4rem; line-height: 2; }
}

/* dd の中身がリンクだけのとき、そのリンクは「文章の中のリンク」ではなく
   独立したタップ対象になる。指で押せる 44px を確保する。 */
.facts__desc a,
.deskside__desc a,
.prose dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--coral-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile__media { margin-top: 10.6666666667vw; }
.profile__media img { width: 100%; }

@media screen and (min-width: 768px) {
  .profile__media { margin-top: 5.2083333333vw; }
}

@media screen and (min-width: 1024px) {
  .profile__media {
    width: 100%;
    margin-top: 1.3rem;
    margin-left: 17rem;
    margin-right: calc(50% - 50vw);
  }
}

/* ---------- 10 お問い合わせ誘導 ------------------------------------------ */

.invite {
  position: relative;
  overflow: hidden;
  background-color: var(--night);
  color: #fff;
  padding: 15vw 0;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .invite { padding: 9.375vw 0; }
}

@media screen and (min-width: 1024px) {
  .invite { padding: 13rem 0; }
}

.invite::before {
  content: "Contact";
  position: absolute;
  left: 50%;
  bottom: -.4rem;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.0666666667vw;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  color: #171717;
  pointer-events: none;
}

@media screen and (min-width: 1024px) {
  .invite::before { font-size: 18rem; bottom: -2.4rem; }
}

.invite__inner { position: relative; z-index: 1; }

.invite__en {
  display: block;
  font-family: var(--font-en);
  font-size: 3.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.15;
  color: #fff;
}

@media screen and (min-width: 1024px) {
  .invite__en { font-size: 6rem; letter-spacing: .01em; }
}

.invite__title {
  margin-top: .6rem;
  font-size: 1.2rem;
  line-height: 1.75;
}

@media screen and (min-width: 1024px) {
  .invite__title { margin-top: 2rem; font-size: 2rem; font-weight: 500; letter-spacing: .07em; }
}

.invite__text {
  max-width: 40em;
  margin: 2.7rem auto 0;
  font-size: 1.3rem;
  line-height: 1.75;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .invite__text { margin-top: 3.5rem; font-size: 1.6rem; line-height: 2; }
}

/* ---------- 11 下層ページ ------------------------------------------------ */

/* ページ見出し。理念と同じ黒地の面を、丈だけ短くしたもの。 */
.pagehead {
  position: relative;
  overflow: hidden;
  margin-top: var(--head-h);
  background-color: #000;
  color: #fff;
  padding: 9vw 0 11vw;
}

@media screen and (min-width: 768px) {
  .pagehead { padding: 6.5vw 0 7.5vw; }
}

@media screen and (min-width: 1024px) {
  .pagehead { padding: 10rem 0 12rem; }
}

/* 主画像と同じ斜めシェイプを、下層では控えめな大きさで右上に置く
   （黒一色の面に主画像と同じ寸法で敷くと、本文より figure が強くなる）。 */
.pagehead::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 46vw;
  height: 64vw;
  background-image: url("../img/top/mainvisual/img_mainvisual_01.svg");
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

@media screen and (min-width: 1024px) {
  .pagehead::after { width: 38.5416666667vw; height: 38.5416666667vw; }
}

.pagehead__inner { position: relative; z-index: 1; }

.pagehead__en {
  display: block;
  font-family: var(--font-en);
  font-size: 3.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.15;
  color: #fff;
}

@media screen and (min-width: 1024px) {
  .pagehead__en { font-size: 6rem; letter-spacing: .01em; }
}

.pagehead__title {
  margin-top: .6rem;
  font-size: 1.2rem;
  line-height: 1.75;
}

@media screen and (min-width: 1024px) {
  .pagehead__title { margin-top: 2rem; font-size: 2rem; font-weight: 500; letter-spacing: .07em; }
}

.pagehead__lead {
  max-width: 44em;
  margin-top: 2.7rem;
  font-size: 1.3rem;
  line-height: 1.75;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .pagehead__lead { margin-top: 3.5rem; font-size: 1.6rem; line-height: 2; }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  letter-spacing: .08em;
  color: #b6b6b6;
}

.crumbs li { display: flex; align-items: center; gap: 1rem; }
.crumbs li + li::before { content: "/"; color: #8f8f8f; }

.crumbs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.band { padding: 19.2vw 0; }

@media screen and (min-width: 768px) {
  .band { padding: 9.375vw 0; }
}

@media screen and (min-width: 1024px) {
  .band { padding: 13rem 0; }
}

.band--smoke { background-color: var(--smoke); }
.band--night { background-color: #000; color: #fff; }

/* 事業紹介の導入 */
.intro { display: grid; gap: 8vw; }

@media screen and (min-width: 1024px) {
  .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 9.375vw; }
}

.intro__media img { width: 100%; }

/* 数字（強み） */
.figures { display: grid; gap: 8vw; margin-top: 10.6666666667vw; }

@media screen and (min-width: 768px) {
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; margin-top: 5.2083333333vw; }
}

@media screen and (min-width: 1024px) {
  .figures { gap: 6.5rem; margin-top: 7rem; }
}

.figure { padding-top: 2.4rem; border-top: 1px solid #3a3a3a; }

.figure__value {
  display: block;
  font-family: var(--font-en);
  font-size: 5.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--coral);
}

@media screen and (min-width: 1024px) {
  .figure__value { font-size: 8.4rem; }
}

.figure__unit { font-size: .42em; margin-left: .12em; letter-spacing: .06em; }

.figure__label {
  display: block;
  margin-top: 1.4rem;
  font-size: 1.3rem;
  letter-spacing: .1em;
  color: #d7d7d7;
}

.figures__note {
  margin-top: 2.4rem;
  font-size: 1.2rem;
  letter-spacing: .08em;
  color: #a9a9a9;
}

/* 流れ・箇条 */
/* 本文の行が長くなりすぎないよう幅を切る（1400px 幅いっぱいだと読みにくい）。 */
.steps { counter-reset: step; max-width: 1000px; margin-top: 10.6666666667vw; border-top: 1px solid var(--line); }

@media screen and (min-width: 768px) {
  .steps { margin-top: 5.2083333333vw; }
}

@media screen and (min-width: 1024px) {
  .steps { margin-top: 7rem; }
}

.steps--plain { counter-reset: none; }

.step {
  position: relative;
  padding: 5.3333333333vw 0;
  border-bottom: 1px solid var(--line);
}

@media screen and (min-width: 768px) {
  .step { padding: 2.6041666667vw 0; }
}

@media screen and (min-width: 1024px) {
  .step { padding: 3.4rem 0; }
}

.steps:not(.steps--plain) .step { padding-left: 12vw; }

@media screen and (min-width: 768px) {
  .steps:not(.steps--plain) .step { padding-left: 8.4rem; }
}

.steps:not(.steps--plain) .step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 5.3333333333vw;
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .06em;
  color: var(--coral-ink);
}

@media screen and (min-width: 768px) {
  .steps:not(.steps--plain) .step::before { top: 2.6041666667vw; }
}

@media screen and (min-width: 1024px) {
  .steps:not(.steps--plain) .step::before { top: 3.4rem; font-size: 2.8rem; }
}

.step__title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
}

@media screen and (min-width: 1024px) {
  .step__title { font-size: 2.2rem; }
}

.step__text {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  line-height: 1.75;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .step__text { margin-top: 1.6rem; font-size: 1.6rem; line-height: 2; }
}

.band--night .steps,
.band--night .step { border-color: #333; }
.band--night .step__title { color: #fff; }
.band--night .step__text { color: #d7d7d7; }
.band--night .steps:not(.steps--plain) .step::before { color: var(--coral); }

.after {
  margin-top: 4vw;
  font-size: 1.3rem;
  line-height: 1.75;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .after { margin-top: 4.5rem; font-size: 1.6rem; line-height: 2; }
}

/* 本文（プライバシーポリシー） */
.prose { max-width: 820px; }

.prose h2 {
  margin-top: 8vw;
  padding-left: 1.8rem;
  border-left: 4px solid var(--coral);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.7;
}

.prose h2:first-child { margin-top: 0; }

@media screen and (min-width: 1024px) {
  .prose h2 { margin-top: 7rem; font-size: 2.1rem; }
}

.prose p, .prose ul, .prose ol, .prose dl {
  margin-top: 2rem;
  font-size: 1.3rem;
  line-height: 1.9;
  letter-spacing: .06em;
}

@media screen and (min-width: 1024px) {
  .prose p, .prose ul, .prose ol, .prose dl { font-size: 1.6rem; line-height: 2; }
}

.prose ul li, .prose ol li { position: relative; padding-left: 1.5em; }
.prose ul li + li, .prose ol li + li { margin-top: .5em; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: .3em;
  top: .95em;
  width: 6px;
  height: 1px;
  background: var(--coral);
}

.prose ol { counter-reset: prose; }
.prose ol li { counter-increment: prose; }

.prose ol li::before {
  content: counter(prose) ".";
  position: absolute;
  left: 0;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--coral-ink);
}

.prose dl { display: grid; gap: 0; border-top: 1px solid var(--line); }

.prose dt {
  padding-top: 1.4rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.prose dd {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.3rem;
  line-height: 1.9;
}

@media screen and (min-width: 600px) {
  .prose dl { grid-template-columns: 210px minmax(0, 1fr); }
  .prose dt { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
  .prose dd { padding-top: 1.4rem; }
}

@media screen and (min-width: 1024px) {
  .prose dt, .prose dd { font-size: 1.4rem; line-height: 2; }
}

.prose a {
  color: var(--coral-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose__meta { margin-top: 6rem; font-size: 1.3rem; color: var(--mute); }

/* フォーム */
.formgrid { display: grid; gap: 12vw; }

@media screen and (min-width: 1024px) {
  .formgrid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; column-gap: 6.5rem; }
}

.field + .field { margin-top: 3rem; }

.field__label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: .2rem 1rem;
  background-color: var(--coral-ink);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.tag--any { background-color: #555; }

.field__input, .field__area {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid #c9cbc2;
  font-size: 16px;
  line-height: 1.8;
  transition: border-color .2s;
}

.field__area { min-height: 180px; resize: vertical; }
.field__input:focus, .field__area:focus { border-color: var(--ink); }

.field__hint { margin-top: 1rem; font-size: 1.3rem; line-height: 1.9; color: var(--mute); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 3.6rem;
  padding: 2.2rem;
  background-color: var(--smoke);
  font-size: 1.4rem;
  line-height: 1.9;
}

.consent input { flex: none; width: 22px; height: 22px; margin-top: 4px; accent-color: var(--coral-ink); }

.consent a { color: var(--coral-ink); text-decoration: underline; text-underline-offset: 3px; }

.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 1rem 4rem;
  background-color: #000;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .1em;
  transition: opacity .3s;
}

.submit:hover { opacity: .75; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.deskside { padding: 3.2rem; background-color: var(--smoke); }

.deskside__title {
  padding-bottom: 1.4rem;
  border-bottom: 2px solid var(--ink);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.deskside__list { margin-top: 2.4rem; }
.deskside__row { padding: 1.6rem 0; border-top: 1px solid var(--line); }

.deskside__term { font-size: 1.2rem; font-weight: 800; letter-spacing: .12em; color: var(--mute); }
.deskside__desc { margin-top: .6rem; font-size: 1.4rem; line-height: 1.9; word-break: break-word; }

/* 送信完了 */
.done__text { max-width: 44em; font-size: 1.3rem; line-height: 1.9; letter-spacing: .06em; }

@media screen and (min-width: 1024px) {
  .done__text { font-size: 1.6rem; line-height: 2; }
}

.done__text a { color: var(--coral-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 12 フッター -------------------------------------------------- */

.colophon {
  position: relative;
  background-color: var(--ash);
  margin-top: 17.3333333333vw;
}

@media screen and (min-width: 768px) {
  .colophon { margin-top: 8.4635416667vw; }
}

@media screen and (min-width: 1024px) {
  .colophon { margin-top: 16rem; }
}

/* 旧版はフッターの直前が白い面（会社概要）だったので、この余白は
   白同士の間合いだった。黒い面が直前に来るときは白い帯が1本挟まって見える。 */
.invite + .colophon { margin-top: 0; }

.colophon__top { padding-top: 13.3333333333vw; }

@media screen and (min-width: 768px) {
  .colophon__top { padding-top: 6.5104166667vw; }
}

@media screen and (min-width: 1024px) {
  .colophon__top { display: flex; justify-content: space-between; padding-top: 8rem; }
}

.colophon__address {
  margin-top: 6vw;
  font-size: 1.3rem;
  line-height: 1.4;
}

@media screen and (min-width: 768px) {
  .colophon__address { margin-top: 2.9296875vw; }
}

@media screen and (min-width: 1024px) {
  .colophon__address { margin-top: 3.5rem; line-height: 2; letter-spacing: .12em; }
}

.colophon__nav { margin-top: 11.4666666667vw; }

@media screen and (min-width: 768px) {
  .colophon__nav { margin-top: 5.5989583333vw; }
}

@media screen and (min-width: 1024px) {
  .colophon__nav { margin-top: 0; }
  .colophon__list { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .colophon__item + .colophon__item { margin-left: 3rem; }
}

.colophon__link {
  display: inline-flex;
  align-items: center;
  /* 「トップ」は 2 文字で幅 38px しかなく、指で押す 44px に届かない。 */
  min-width: 44px;
  min-height: 44px;
  font-size: 1.2rem;
  letter-spacing: .04em;
  transition: opacity .2s;
}

.colophon__link:hover { opacity: .6; }

@media screen and (min-width: 1024px) {
  .colophon__link { font-family: var(--font-alt); font-size: 1.3rem; letter-spacing: .08em; }
}

.colophon__copy {
  margin-top: 12.2666666667vw;
  padding: 4vw 0;
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .1em;
}

@media screen and (min-width: 768px) {
  .colophon__copy { margin-top: 5.9895833333vw; }
}

@media screen and (min-width: 1024px) {
  .colophon__copy { margin-top: 11.5rem; padding: 3.525rem 0; text-align: right; letter-spacing: .2em; }
}

/* ---------- 13 スクロールに合わせた動き ---------------------------------- */

/* 大原則が3つある。
 *
 *  1. **隠す指定は必ず .js-motion の下にしか書かない。**
 *     この印は main.js が <html> に付ける。JS が動かない環境（JS 無効・
 *     低速回線でスクリプトが落ちた・生成AIのクローラ）では印が付かないので、
 *     ここの opacity:0 は 1 行も効かない＝本文は最初から全部見えている。
 *     素の CSS に opacity:0 を書いて JS で見せる作りは、その環境で
 *     ページが白紙になるので使わない。
 *  2. **動かすのは transform と opacity（と、文字を持たない飾りの
 *     letter-spacing）だけ。** 高さ・余白・幅は動かさないので、
 *     スクロール中に行がずれない。
 *  3. **横方向へは動かさない。** translateX で画面外から入れる作りは、
 *     狭い画面で必ず横スクロールを生む。上下だけで作る。
 *
 * 動きが終わった要素からは main.js が data-mo ごと外す。つまり、
 * 何かの拍子に止まっても最後は「素のCSS＝見えている状態」に落ちる。
 */

:root {
  /* 立ち上がりが速く、終わりが長いイージング。既定の ease は使わない。 */
  --mo-ease: cubic-bezier(.16, 1, .3, 1);
  --mo-y: 16px;        /* 下から上がる距離 */
  --mo-y-head: 20px;   /* 見出しはもう少しだけ大きく */
  --mo-dur: .62s;
  --mo-dur-head: .86s;
  --mo-step: 60ms;     /* 並びの時間差（main.js の STEP_MS と揃える） */
}

/* 狭い画面でも同じ体験にする。止めるのではなく、距離と時間を詰める。 */
@media screen and (min-width: 768px) {
  :root {
    --mo-y: 26px;
    --mo-y-head: 30px;
    --mo-dur: .74s;
    --mo-dur-head: 1s;
    --mo-step: 72ms;
  }
}

/* 出る前の状態。opacity だけをここで落とし、transform は種類ごとに与える
   （縦組みの SCROLL のように、すでに transform を持っている要素の
     回転を打ち消さないため）。 */
.js-motion [data-mo] {
  opacity: 0;
  transition: opacity var(--mo-dur) var(--mo-ease),
              transform var(--mo-dur) var(--mo-ease);
  transition-delay: calc(var(--mo-i, 0) * var(--mo-step));
}

.js-motion [data-mo="rise"],
.js-motion [data-mo="media"] { transform: translate3d(0, var(--mo-y), 0); }

.js-motion [data-mo="head"] {
  transform: translate3d(0, var(--mo-y-head), 0);
  transition-duration: var(--mo-dur-head);
}

/* 巨大な英字は、日本語の小見出しより一拍おくれて、ゆっくり上がる。
   同じ動きの繰り返しにならないよう、見出しだけ二層にしてある。
   （content が無い要素ではこの疑似要素は生成されないので何も起きない） */
.js-motion [data-mo="head"]::before {
  opacity: 0;
  transform: translate3d(0, calc(var(--mo-y-head) * .5), 0);
  transition-property: opacity, transform;
  transition-duration: var(--mo-dur-head), var(--mo-dur-head);
  transition-timing-function: var(--mo-ease), var(--mo-ease);
  transition-delay: calc(var(--mo-i, 0) * var(--mo-step) + 90ms);
}

/* 写真は、寄った状態から寸法どおりへ戻る。1.045 倍のはみ出しは
   親を overflow:hidden にして必ず内側で切る（横スクロールを作らない）。 */
.js-motion [data-mo="media"] { overflow: hidden; }

.js-motion [data-mo="media"] img {
  transform: scale(1.045);
  transition: transform 1.15s var(--mo-ease);
  transition-delay: calc(var(--mo-i, 0) * var(--mo-step));
}

/* トップの主画像。読み込み幕が開くのに合わせて動かす（スクロール発火ではない）。 */
.js-motion [data-mo="lead-img"] {
  transform: scale(1.06);
  transition-duration: 1.5s;
}

/* 出たあと。 */
.js-motion [data-mo].mo-in { opacity: 1; }

.js-motion [data-mo="rise"].mo-in,
.js-motion [data-mo="head"].mo-in,
.js-motion [data-mo="media"].mo-in,
.js-motion [data-mo="lead-img"].mo-in { transform: none; }

/* 巨大な英字を実要素（.ttl__en）に置き換えたときも、疑似要素のときと
   同じ二層の動きになるようにしておく。 */
.js-motion [data-mo="head"] .ttl__en {
  opacity: 0;
  transform: translate3d(0, calc(var(--mo-y-head) * .5), 0);
  transition-property: opacity, transform;
  transition-duration: var(--mo-dur-head), var(--mo-dur-head);
  transition-timing-function: var(--mo-ease), var(--mo-ease);
  transition-delay: calc(var(--mo-i, 0) * var(--mo-step) + 90ms);
}

.js-motion [data-mo="head"].mo-in::before,
.js-motion [data-mo="head"].mo-in .ttl__en { opacity: 1; transform: none; }
.js-motion [data-mo="media"].mo-in img { transform: none; }

/* 背後のゴースト文字。本文とは別の出方にする（文字間が詰まりながら、
   ゆっくり滲み出る）。疑似要素なので、どれだけ間を広げても
   本文の行送りは 1px も動かない。親は overflow:hidden なので横にも溢れない。 */
.js-motion [data-mo-ghost="text"]::before,
.js-motion [data-mo-ghost="text"]::after {
  opacity: 0;
  letter-spacing: .2em;
  transition-property: opacity, letter-spacing;
  transition-duration: 1.3s, 1.4s;
  transition-timing-function: var(--mo-ease), var(--mo-ease);
}

.js-motion [data-mo-ghost="text"].mo-in::before,
.js-motion [data-mo-ghost="text"].mo-in::after {
  opacity: 1;
  letter-spacing: .02em;
}

/* 下層ページの右上にある斜めの飾り。 */
.js-motion [data-mo-ghost="shape"]::after {
  opacity: 0;
  transform: scale(1.06);
  transform-origin: 100% 0;
  transition: opacity 1.2s var(--mo-ease), transform 1.4s var(--mo-ease);
}

.js-motion [data-mo-ghost="shape"].mo-in::after { opacity: 1; transform: none; }

/* ヘッダー。下へ読み進めている間は引っ込め、上へ戻したら必ず出す。
   引っ込めるのは .js-motion が付いているときだけなので、JS が動かない
   環境では常に出たままになる。 */
.masthead {
  transition: transform .5s var(--mo-ease), box-shadow .3s ease;
}

.masthead.mo-stuck { box-shadow: 0 1px 0 rgba(16, 26, 46, .10); }
.js-motion .masthead.mo-away { transform: translate3d(0, -101%, 0); }

/* 動きを減らす設定のとき。main.js はそもそも .js-motion を付けないが、
   閲覧中に設定を変えられた場合の保険として、ここでも必ず見える状態に戻す。 */
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-mo],
  .js-motion [data-mo]::before,
  .js-motion [data-mo="head"] .ttl__en,
  .js-motion [data-mo="media"] img,
  .js-motion [data-mo-ghost="text"]::before,
  .js-motion [data-mo-ghost="text"]::after,
  .js-motion [data-mo-ghost="shape"]::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .js-motion [data-mo-ghost="text"]::before,
  .js-motion [data-mo-ghost="text"]::after { letter-spacing: .02em; }

  .js-motion .masthead.mo-away { transform: none; }
}

/* ---------- 14 印刷 ------------------------------------------------------ */

/* 会社概要とプライバシーポリシーは、紙で読まれる種類のページ。
   そのまま刷ると、固定ヘッダーが本文に重なり、黒地の面がインクを食い、
   184px のワードマークが 1 ページ丸ごと潰す。読み手（取引先・銀行）が
   手元に残せる形にする。 */
@media print {
  /* 画面のためだけの部品は落とす。 */
  .masthead,
  .veil,
  .lead__mark,
  .lead__scroll,
  .skip,
  .burger,
  .mainnav,
  .creed::before,
  .offer::after,
  .invite::before,
  .pagehead::after { display: none !important; }

  /* 主画像は紙では組み直す。ブラウザの印刷は既定で背景を刷らないので、
     写真（img）だけが残って暗幕（背景）が消え、白い紙に白い見出しだけが
     残る事故が起きる。写真ごと落として、見出しを黒字で普通に流す。 */
  .lead__frame img,
  .lead__frame::before,
  .lead__frame::after,
  .lead__veil { display: none !important; }

  .lead__frame {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: none !important;
  }

  .lead__title {
    position: static !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: column !important;
    color: #000 !important;
    text-shadow: none !important;
    font-size: 2.8rem !important;
    letter-spacing: .04em !important;
  }

  .lead__title span {
    order: 0 !important;
    margin: 0 0 1rem !important;
    font-size: 1.4rem !important;
    letter-spacing: .08em !important;
  }

  /* 動きは止める。刷る時点の状態がすべて。 */
  .js-motion [data-mo],
  .js-motion [data-mo]::before,
  .js-motion [data-mo="head"] .ttl__en,
  .js-motion [data-mo="media"] img,
  .js-motion [data-mo-ghost="text"]::before,
  .js-motion [data-mo-ghost="text"]::after,
  .js-motion [data-mo-ghost="shape"]::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body { background: #fff; color: #000; }

  /* 固定ヘッダーぶんの逃げは要らなくなる。 */
  .lead,
  .pagehead { margin-top: 0; }

  /* 黒地の面を白に返す。地の色を変えたら、そこに乗る白文字も返す。 */
  .creed,
  .band--night,
  .invite,
  .colophon__copy,
  .pagehead { background: #fff !important; color: #000 !important; }

  .creed__en,
  .creed__desc,
  .pagehead__en,
  .pagehead__title,
  .pagehead__lead,
  .invite__en,
  .invite__title,
  .invite__text,
  .ttl--pale,
  .ttl--pale::before,
  .band--night .step__title,
  .band--night .step__text,
  .figure__label,
  .figures__note,
  .colophon__copy p { color: #000 !important; }

  .creed__term,
  .figure__value { color: #8a2214 !important; }

  .crumbs { color: #444 !important; }
  .crumbs a { color: #000 !important; }
  .pill--pale { color: #000 !important; }

  /* 地の色が刷られない前提で、白抜きだった部品を線と黒字に組み替える。 */
  .tag,
  .tag--any {
    background: none !important;
    color: #000 !important;
    border: 1px solid #777;
    padding: 0 .6rem;
  }

  .submit {
    background: none !important;
    color: #000 !important;
    border: 1px solid #000;
  }
  .creed__row { border-color: #bbb !important; }
  .figure { border-color: #bbb !important; }

  /* 面の余白は画面用の vw 指定のままだと紙で間延びする。 */
  .band,
  .biz,
  .offer,
  .creed,
  .invite,
  .profile { padding-top: 12mm !important; padding-bottom: 12mm !important; }

  .colophon { margin-top: 8mm !important; }

  /* 読みどころが紙の切れ目にかからないようにする。 */
  .biz__row,
  .offer__item,
  .step,
  .facts__row,
  .figure,
  .deskside__row { break-inside: avoid; }

  .prose h2,
  .ttl { break-after: avoid; }

  /* 紙にはリンク先が残らないので、外部リンクだけ行き先を括弧で添える。
     このサイトのメールリンクは文面がアドレスそのものなので、添えると
     同じ文字を二度刷ることになる。付けない。 */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }

  @page { margin: 14mm; }
}
