@charset "utf-8";
/* ==========================================================================
   common.css — design tokens, fonts, base typography
   §0 values: PC design 1320px / content-max 1300px / tablet 1024 / sp 768
   ========================================================================== */

/* ---- LINE Seed JP (English display use only, Latin subset) ---------------- */
@font-face {
  font-family: "LINE Seed JP";
  src: url("../../common/fonts/LINESeedJP_Th-latin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201F, U+2026;
}

@font-face {
  font-family: "LINE Seed JP";
  src: url("../../common/fonts/LINESeedJP_Rg-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201F, U+2026;
}

@font-face {
  font-family: "LINE Seed JP";
  src: url("../../common/fonts/LINESeedJP_Bd-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201F, U+2026;
}

@font-face {
  font-family: "LINE Seed JP";
  src: url("../../common/fonts/LINESeedJP_Eb-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201F, U+2026;
}

/* ---- Design tokens -------------------------------------------------------- */
:root {
  /* Layout (§0) */
  --design-width-pc: 1320px;
  --design-width-sp: 375px;
  --content-max: 1300px;
  --content-gutter: 5%;
  /* 同じガター幅を「長さ」で持つ複製。画面端まで伸ばす装飾の calc では
     % が使えない（解決基準が要素側になる）ため、そちらはこの変数を参照する。
     必ず --content-gutter と同じ値に保つこと */
  --content-gutter-length: 5vw;

  /* Colors
     ハードコードせず、コンポーネントからは変数のみ参照する */
  --color-primary: #0e3870;
  /* brand navy / nav hover */
  --color-navy-deep: #16222c;
  /* dark UI (hamburger / arrows) */
  --color-navy-800: #26324c;
  --color-footer: #28323c;
  /* footer surfaces */
  --color-text: #000000;
  --color-text-dark: #392d2c;
  /* brown-black body / eyebrow */
  --color-text-muted: #6b6f76;
  --color-text-soft: #9a9a9a;
  /* 大見出しの淡いグレー（事業内容など） */
  --color-text-inv: #ffffff;
  /* text on dark */
  --color-bg: #ffffff;
  --color-bg-alt: #f2f2f2;
  --color-bg-soft: #f5f5f5;
  /* footer brand panel */
  --color-bg-warm: #f4f3ef;
  /* SP gnav panel */
  --color-line: #dcdedf;
  --color-accent-soft: #cbd0ca;
  /* deco marks / dots */
  --color-accent-blue: #8fb2e6;
  /* footer link hover */
  --color-works-eyebrow: #afb9c4;

  /* Utility text colors (.fc-*) */
  --color-fc-r: #e72410;
  --color-fc-p: #eb6d9a;
  --color-fc-g: #bf944e;
  --color-grad-1-from: #cccccc;
  --color-grad-1-to: #2b201e;
  --color-grad-2-from: #cbcdca;
  --color-grad-2-to: #601c1b;

  /* RGB channels（rgba 用） */
  --color-navy-rgb: 27, 39, 64;
  --color-black-rgb: 0, 0, 0;

  /* Typography */
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-en: "LINE Seed JP", "Noto Sans JP", sans-serif;

  /* Spacing scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 120px;

  /* Effects */
  --radius: 15px;
  --radius-lg: 30px;
  --shadow-card: 50px 50px 6px rgba(var(--color-black-rgb), 0.05);
  --shadow-card-soft: 0 6px 20px rgba(var(--color-navy-rgb), 0.04);
  --shadow-nav: 0 2px 16px rgba(var(--color-navy-rgb), 0.1);
  --color-watermark: rgba(var(--color-navy-rgb), 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Design tokens responsive ------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --shadow-card: 20px 20px 6px rgba(var(--color-black-rgb), 0.05);
    /* SP は左右 24px 固定（375px 幅で 5% = 約19px では狭いため） */
    --content-gutter: 24px;
    --content-gutter-length: 24px;
  }
}

/* ---- Base ---------------------------------------------------------------- */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  /* 固定ヘッダーの下にアンカー先が潜り込まないように */
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 2;
  letter-spacing: .1em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-size: var(--fs16);
  text-align: justify;
}

/* Latin runs inside JP text pick up LINE Seed automatically */
:lang(en) {
  font-family: var(--font-en);
}

.u-en {
  font-family: var(--font-en);
  letter-spacing: 0.08em;
}

/* Section eyebrow: "ABOUT | 会社案内" style label */
.c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: 0.65em;
  font-size: var(--fs22);
  color: var(--color-text-dark);
  white-space: nowrap;
}

.c-eyebrow--white {
  color: var(--color-text-inv);
}

.c-eyebrow::before {
  content: "";
}

.c-eyebrow__ja {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--f16);
  letter-spacing: 0.8em;
  position: relative;
  padding-left: 1.4em;
  color: var(--color-text-dark);
}

.c-eyebrow__ja--white {
  color: var(--color-text-inv);
}

.c-eyebrow__ja::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 23px;
  background: currentColor;
  transform: translateY(-50%);
}

/* Section alt background（HTML に .c-bg-alt を付与するだけ） */
.c-bg-alt {
  position: relative;
}

.c-bg-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--color-bg-alt);
  pointer-events: none;
}

/* Section watermark（HTML に .c-watermark を配置するだけ） */
.c-watermark {
  position: absolute;
  display: inline-block;
  left: 0;
  right: 0;
  bottom: 20%;
  z-index: -1;
  margin: 0;
  font-family: var(--font-en);
  font-size: var(--fs131);
  font-weight: 400;
  letter-spacing: 0.4em;
  line-height: 1;
  color: #dde2db;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  filter: blur(2px);
  opacity: 0.3;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--color-primary);
  color: var(--color-text-inv);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* Section title（SVG / 画像タイトル） */
.c-ttl {
  margin: 0;
  line-height: 0;
}

.c-ttl img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 113px;
  margin-inline: auto;
}

/* Visually hidden (screen-reader only) */
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Overflow clip（はみ出し抑制。scroll chaining を切らずにクリップ） */
.u-overflow-clip {
  overflow: clip;
}

.u-overflow-x-clip {
  overflow-x: clip;
}

/* 768px以下でのみ改行 */
.u-br-sp {
  display: none;
}

@media (max-width: 768px) {
  .u-br-sp {
    display: inline;
  }
}

/* 769px以上でのみ改行（768px以下では改行なし） */
.u-br-pc {
  display: inline;
}

@media (max-width: 768px) {
  .u-br-pc {
    display: none;
  }
}

/* 1025px以上でのみ改行（tab以下では改行なし） */
.u-br-tablet {
  display: inline;
}

@media (max-width: 1024px) {
  .u-br-tablet {
    display: none;
  }
}

/* ---- Reveal on scroll ---------------------------------------------------- */
/* common.js の IntersectionObserver が画面内に入った要素へ .is-inview を付与する。
   --reveal-delay（= .js-reveal--d1〜d3）をずらすと順番にフェードイン */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

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

.js-reveal--d1 {
  --reveal-delay: 0.15s;
}

.js-reveal--d2 {
  --reveal-delay: 0.45s;
}

.js-reveal--d3 {
  --reveal-delay: 0.75s;
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition-delay: 0s !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Decorative mark SVGs
   deco-mark-01: 配置（top / left / right / bottom / transform）は利用側で指定 */
.deco-mark-01,
.p-mv::before,
.p-mv::after,
.p-about::before {
  position: absolute;
  background-image: url("../../img/common/deco-mark-01.svg");
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 753px;
  max-height: 753px;
  width: 60vw;
  height: 60vw;
  z-index: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.p-mv::before,
.p-mv::after,
.p-about::before {
  content: "";
}

.deco-mark-05 {
  width: clamp(70px, 12vw, 168px);
  height: clamp(70px, 12vw, 168px);
  object-fit: contain;
}
