/* TWOPOINTS — editorial layout inspired by twopoints-jp.com + full-width band / marquee rhythm (e.g. takuboku-style corporate sites) */

:root {
  --ink: #0a0c10;
  --ink-soft: #151b26;
  --text: #1a2233;
  --muted: #5c677a;
  --line: #dfe4ec;
  --line-dark: #2a3344;
  --surface: #ffffff;
  --paper: #f3f5f8;
  --accent: #1a3352;
  --accent-mid: #2a5082;
  --accent-light: #e6eef8;
  --gold: #b8976a;
  --gold-bright: #d4b896;
  --gold-muted: rgba(184, 151, 106, 0.45);
  --max: 1200px;
  --grain-opacity: 0.042;
  --space-section-y: clamp(3.35rem, 7vw, 5.75rem);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 4px 24px rgba(10, 18, 32, 0.06);
  --shadow-md: 0 14px 44px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 28px 72px rgba(8, 16, 32, 0.14);
  --shadow-card: 0 18px 48px rgba(15, 28, 48, 0.09);
  --shadow-card-hover: 0 28px 64px rgba(15, 35, 59, 0.15);
  --radius-xl: 14px;
  --focus-ring: 0 0 0 3px rgba(42, 80, 130, 0.14);
  --glass-hero: rgba(6, 10, 16, 0.4);
  --tint-paper-warm: rgba(255, 252, 248, 0.55);
  /* ネットワーク可時は Noto Sans JP（HTML で Google Fonts 読込）→ 各 OS ネイティブの順 */
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic UI", "Yu Gothic", YuGothic, "Meiryo UI", Meiryo, "MS PGothic", "Noto Sans CJK JP", sans-serif;
  /* ナビ・英字見出しも同一スタックで統一（欧文は各ゴシック内のラテンで描画） */
  --font-en: var(--font-ja);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  font-family: var(--font-ja);
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 80, 130, 0.42) rgba(236, 240, 246, 0.85);
}

@supports (font-feature-settings: normal) {
  html {
    font-feature-settings: "kern" 1, "palt" 1;
  }
}

body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--text);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 88% 8%, var(--tint-paper-warm), transparent 48%),
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(232, 238, 248, 0.65), transparent 55%),
    linear-gradient(185deg, var(--paper) 0%, #eef1f6 100%);
  line-height: 1.85;
  font-size: clamp(14.5px, 0.35vw + 14px, 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

#main,
.site-footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(42, 80, 130, 0.2);
  color: var(--text);
}

html::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

html::-webkit-scrollbar-track {
  background: rgba(241, 244, 249, 0.65);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(175deg, rgba(42, 80, 130, 0.5), rgba(184, 151, 106, 0.38));
  border-radius: 999px;
  border: 3px solid rgba(241, 244, 249, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-mid);
  outline-offset: 3px;
}

.skip-link:focus-visible,
.nav a:focus-visible,
.nav-cta:focus-visible,
.footer-links a:focus-visible {
  box-shadow: var(--focus-ring);
}

a:focus-visible,
button:focus-visible {
  outline-offset: 2px;
}

/* Skip link（キーボード・スクリーンリーダー向け） */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  z-index: 10001;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 228, 236, 0.88);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 10px 36px rgba(10, 22, 44, 0.06);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-mark {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  line-height: 1.1;
  transition: letter-spacing 0.45s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
}

.brand:hover .brand-mark {
  letter-spacing: 0.2em;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  font-size: 0.75rem;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  color: var(--muted);
  padding: 6px 0;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-mid), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-smooth);
}

.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

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

.nav a.current,
.nav a[aria-current="page"] {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .nav a::after {
    transition: none;
    transform: scaleX(0);
  }

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

  .brand-mark {
    transition: none;
  }

  .brand:hover .brand-mark {
    letter-spacing: 0.18em;
  }
}

@media (max-width: 680px) {
  .nav {
    gap: 4px 11px;
    font-size: 0.65rem;
    letter-spacing: 0.07em;
    justify-content: flex-end;
    max-width: min(100%, 22rem);
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.65rem;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .brand-sub {
    font-size: 0.62rem;
  }
}

.nav-cta {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 12, 16, 0.88);
  color: var(--ink);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 246, 250, 1) 100%);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(10, 18, 32, 0.06);
  transition: background 0.32s var(--ease-smooth), color 0.32s var(--ease-smooth), box-shadow 0.32s var(--ease-smooth), transform 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth);
}

.nav-cta:hover {
  background: linear-gradient(165deg, #0a0e14 0%, #151d2a 100%);
  color: #fff;
  border-color: rgba(184, 151, 106, 0.35);
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(8, 12, 20, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* —— Marquee (full-width band) —— */
.marquee {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, #06080c 0%, #121820 45%, #0c1018 100%);
  color: rgba(255, 255, 255, 0.42);
  overflow: hidden;
  border-top: 1px solid rgba(184, 151, 106, 0.12);
  border-bottom: 1px solid var(--line-dark);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}

.marquee-track span {
  flex-shrink: 0;
  padding: 0 2.5rem;
}

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

/* —— Hero（ダーク＋任意ビジュアル） —— */
.hero {
  position: relative;
  background: linear-gradient(155deg, #070a10 0%, #101824 42%, #0a1018 100%);
  color: #f2f5fa;
  padding: clamp(3.75rem, 10vw, 7rem) 0 clamp(3.25rem, 7vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 15% 5%, rgba(55, 95, 145, 0.38), transparent 58%),
    radial-gradient(ellipse 55% 45% at 95% 95%, rgba(184, 151, 106, 0.08), transparent 52%),
    radial-gradient(ellipse 50% 35% at 70% 20%, rgba(30, 58, 95, 0.2), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: auto, auto, auto, 120px 120px;
  opacity: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    opacity: 0.02;
  }

  .hero::before {
    background:
      radial-gradient(ellipse 85% 55% at 15% 5%, rgba(55, 95, 145, 0.38), transparent 58%),
      radial-gradient(ellipse 55% 45% at 95% 95%, rgba(184, 151, 106, 0.08), transparent 52%),
      radial-gradient(ellipse 50% 35% at 70% 20%, rgba(30, 58, 95, 0.2), transparent 50%);
    background-size: auto;
  }
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  position: relative;
  padding-left: clamp(1rem, 2vw, 1.35rem);
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 35%, rgba(184, 151, 106, 0.18));
  opacity: 0.92;
}

@media (max-width: 960px) {
  .hero-copy {
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }
}

@media (min-width: 961px) {
  body.page-home .hero-copy {
    padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.6rem, 3vw, 2.1rem);
    background: var(--glass-hero);
    backdrop-filter: blur(14px) saturate(1.18);
    -webkit-backdrop-filter: blur(14px) saturate(1.18);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
      0 28px 72px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  body.page-home .hero-copy::before {
    left: clamp(1.05rem, 2vw, 1.35rem);
    top: clamp(1.1rem, 2.2vw, 1.5rem);
    bottom: clamp(1.1rem, 2.2vw, 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .hero-copy {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 11, 18, 0.52);
  }
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(184, 151, 106, 0.15) inset;
  aspect-ratio: 4 / 3;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(8, 12, 20, 0.15) 100%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-smooth);
}

.hero:hover .hero-visual img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual {
    animation: hero-rise 1.1s var(--ease-smooth) 0.12s backwards;
  }

  .hero:hover .hero-visual img {
    transform: scale(1.02);
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-height: 320px;
    aspect-ratio: 16 / 10;
  }
}

/* 全幅ビジュアル帯 */
.visual-strip {
  position: relative;
  min-height: min(54vh, 540px);
  background-color: #141c28;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
}

.visual-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    185deg,
    rgba(8, 10, 14, 0.2) 0%,
    rgba(12, 16, 24, 0.45) 45%,
    rgba(8, 11, 18, 0.82) 100%
  );
  pointer-events: none;
}

.visual-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(184, 151, 106, 0.06) 0%, transparent 28%, transparent 72%, rgba(42, 80, 130, 0.06) 100%);
  pointer-events: none;
}

.visual-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.visual-strip__rule {
  flex: 1;
  height: 1px;
  max-width: min(140px, 18vw);
  border-radius: 1px;
}

.visual-strip__rule--left {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42));
}

.visual-strip__rule--right {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent);
}

.visual-strip__caption {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  flex-shrink: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.visual-strip--buildings {
  background-image:
    linear-gradient(120deg, rgba(18, 26, 40, 0.5), rgba(18, 26, 40, 0.65)),
    url("assets/images/ai-hero-architecture.png?v=20260518");
}

/* ギャラリー（3枚・編集型バントー） */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2.2vw, 22px);
  margin-top: 2.5rem;
}

.photo-gallery figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(223, 228, 236, 0.95);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.photo-gallery figure:nth-child(2) {
  box-shadow: var(--shadow-md);
  z-index: 1;
}

@media (min-width: 721px) {
  .photo-gallery figure:nth-child(2) {
    transform: translateY(-12px);
    border-radius: var(--radius-md);
  }

  .photo-gallery figure:nth-child(1) {
    align-self: end;
  }

  .photo-gallery figure:nth-child(3) {
    align-self: end;
  }
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-smooth);
}

.photo-gallery figure:hover {
  box-shadow:
    var(--shadow-card-hover),
    0 0 0 1px rgba(184, 151, 106, 0.2);
}

.photo-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8, 12, 20, 0.28) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-smooth);
  pointer-events: none;
}

.photo-gallery figure:hover img {
  transform: scale(1.045);
}

.photo-gallery figure:hover::after {
  opacity: 1;
}

@media (max-width: 720px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-gallery figure:nth-child(2) {
    transform: none;
  }
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 1.25rem;
}

.hero-title-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2.25rem, 6.8vw, 3.85rem);
  letter-spacing: 0.14em;
  line-height: 1.12;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 2px 48px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(80, 120, 180, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.12);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title-en {
    background-image: linear-gradient(
      118deg,
      #ffffff 0%,
      #e4ecf8 38%,
      #ffffff 72%,
      #c5d2e6 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.35));
  }
}

.hero-tagline-en {
  font-family: var(--font-en);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 0.35rem;
}

.hero-tagline-ja {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 2rem;
  letter-spacing: 0.02em;
}

.hero-body {
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: hero-rise 0.95s var(--ease-smooth) backwards;
  }

  .hero-copy .hero-eyebrow {
    animation-delay: 0.04s;
  }

  .hero-copy .hero-title-en {
    animation-delay: 0.1s;
  }

  .hero-copy .hero-tagline-en {
    animation-delay: 0.18s;
  }

  .hero-copy .hero-tagline-ja {
    animation-delay: 0.22s;
  }

  .hero-copy .hero-body {
    animation-delay: 0.28s;
  }

  .hero-copy .hero-actions {
    animation-delay: 0.36s;
  }

  .hero-visual {
    animation: hero-rise-tilt 1.1s var(--ease-smooth) 0.12s backwards;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-rise-tilt {
  from {
    opacity: 0;
    transform: translateY(26px) rotate(-0.45deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(-0.45deg);
  }
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth), color 0.28s var(--ease-smooth), transform 0.25s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth);
}

.btn:active {
  transform: translateY(1px);
}

.btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn.primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
  border-color: #fff;
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.btn--dark {
  border: 1px solid rgba(223, 228, 236, 0.95);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.07);
}

.btn--dark:hover {
  border-color: var(--accent-mid);
  background: linear-gradient(180deg, var(--accent-light) 0%, #d8e6f4 100%);
  box-shadow: 0 12px 40px rgba(15, 35, 59, 0.12);
  transform: translateY(-3px);
  color: var(--ink);
}

.btn--dark:active {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .btn--dark:hover {
    transform: none;
  }
}

/* —— Sections —— */
.section {
  padding: var(--space-section-y) 0;
}

.section--paper {
  background:
    radial-gradient(ellipse 85% 70% at 12% 30%, rgba(230, 238, 248, 0.55), transparent 52%),
    linear-gradient(178deg, #f5f7fb 0%, var(--paper) 48%, #eef2f7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.section--white {
  background: linear-gradient(185deg, #ffffff 0%, var(--surface) 55%, #fafbfd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.section-head {
  margin-bottom: 2.25rem;
  position: relative;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin: 0 0 0.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.section-label::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-muted) 100%);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.45rem, 2.7vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  margin: 0 0 0.85rem;
  line-height: 1.4;
  text-wrap: balance;
  color: var(--ink-soft);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 0.95rem;
}

.prose {
  max-width: 40rem;
}

.prose p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.92;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose a {
  color: var(--accent-mid);
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease-smooth), color 0.25s var(--ease-smooth);
}

.prose a:hover {
  color: var(--accent);
  background-size: 100% 1px;
  text-decoration: none;
}

/* —— Section ornament（セクション装飾） —— */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0.25rem;
}

.section-ornament::before,
.section-ornament::after {
  content: "";
  flex: 1;
  max-width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 80, 130, 0.2), transparent);
}

.section-ornament__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--accent-mid));
  box-shadow: 0 0 0 4px rgba(184, 151, 106, 0.16), 0 4px 18px rgba(30, 58, 95, 0.14);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .section-ornament__dot {
    animation: ornament-glow 5s ease-in-out infinite;
  }
}

@keyframes ornament-glow {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(184, 151, 106, 0.14), 0 4px 18px rgba(30, 58, 95, 0.12);
    filter: brightness(1);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(184, 151, 106, 0.2), 0 6px 24px rgba(42, 80, 130, 0.16);
    filter: brightness(1.08);
  }
}

/* —— Service cards (index) —— */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 1.65rem);
  background: transparent;
  border: none;
  margin-top: 2.25rem;
}

.service-card {
  position: relative;
  background: var(--surface);
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(223, 228, 236, 0.95);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-mid), var(--gold-bright), var(--accent-mid));
  opacity: 0;
  transition: opacity 0.45s var(--ease-smooth);
  z-index: 2;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.service-card__media {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(155deg, #f3f7fb 0%, #e7eef8 52%, #dfe9f3 100%);
}

.service-card__media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-smooth);
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card:hover {
    transition: none;
    transform: none;
  }

  .service-card:hover .service-card__media img {
    transform: none;
  }
}

.service-card__body {
  position: relative;
  z-index: 0;
  padding: clamp(1.35rem, 2.8vw, 2rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(230, 238, 248, 0.55) 0%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.service-card__body > * {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.service-card .service-card-ja {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.service-card__body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
  flex: 1;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Company strip —— */
.company-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fafbfd 0%, var(--surface) 48%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.company-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
  align-items: start;
}

.company-strip-inner > div:first-child {
  position: relative;
  padding-left: 1.1rem;
}

.company-strip-inner > div:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(184, 151, 106, 0.15));
}

.company-strip h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}

.dl-grid {
  display: grid;
  gap: 0;
  font-size: 0.875rem;
}

.dl-grid div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease-smooth);
  border-radius: var(--radius-sm);
}

.dl-grid div:hover {
  background: rgba(230, 238, 248, 0.42);
}

.dl-grid div:last-child {
  border-bottom: none;
}

.dl-grid dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.dl-grid dd {
  margin: 0;
  color: var(--text);
}

@media (max-width: 700px) {
  .company-strip-inner {
    grid-template-columns: 1fr;
  }

  .company-strip-inner > div:first-child {
    padding-left: 0;
  }

  .company-strip-inner > div:first-child::before {
    display: none;
  }

  .dl-grid div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  background: linear-gradient(165deg, #06080d 0%, #121a26 55%, #0d121c 100%);
  color: #eef2f8;
  padding: clamp(2.75rem, 5.5vw, 4rem) 0;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(184, 151, 106, 0.12), transparent 55%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
  font-weight: 500;
  letter-spacing: 0.09em;
  margin: 0 0 1.35rem;
  text-wrap: balance;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4), 0 0 48px rgba(184, 151, 106, 0.08);
}

.cta-band .btn {
  margin: 0 auto;
}

.cta-band .btn.primary {
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 56px rgba(184, 151, 106, 0.18);
}

.cta-band .btn.primary:hover {
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.38),
    0 0 64px rgba(184, 151, 106, 0.22);
}

/* —— Inner page hero —— */
.page-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.page-hero:not(.page-hero--cover) {
  background: linear-gradient(185deg, #fbfcfe 0%, var(--surface) 52%, #f6f8fb 100%);
  box-shadow: inset 0 -1px 0 rgba(223, 228, 236, 0.65);
}

.page-hero-label {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin: 0 0 0.5rem;
}

.page-hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
  text-wrap: balance;
}

.page-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 0.95rem;
}

.page-hero--cover {
  position: relative;
  background-color: #1a2332;
  background-size: cover;
  background-position: center;
  border-bottom: none;
  color: #f0f3f7;
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
  min-height: min(42vh, 440px);
  display: flex;
  align-items: flex-end;
  box-shadow: inset 0 -60px 90px rgba(4, 6, 10, 0.35);
}

.page-hero--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(8, 11, 18, 0.45) 0%,
    rgba(12, 16, 24, 0.72) 48%,
    rgba(6, 9, 14, 0.92) 100%
  );
  pointer-events: none;
}

.page-hero--cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(42, 80, 130, 0.15), transparent 60%);
  pointer-events: none;
}

.page-hero--cover .container {
  position: relative;
  z-index: 2;
}

.page-hero--cover .container::after {
  content: "";
  display: block;
  width: min(5rem, 18vw);
  height: 3px;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(184, 151, 106, 0.35), transparent);
}

.page-hero--cover .page-hero-label {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero--cover .page-hero-title {
  color: #fff;
  text-shadow:
    0 2px 32px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(40, 80, 130, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.12);
  letter-spacing: 0.07em;
}

.page-hero--cover .page-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
}

/* Cover ヒーロー → 明るい本文へのグラデ橋（Contact / About） */
.page-hero__bleed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(3.25rem, 8vw, 5.25rem);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(243, 245, 248, 0) 0%,
    rgba(241, 244, 249, 0.5) 38%,
    var(--paper) 100%
  );
}

body.page-contact .section--contact,
body.page-about .section--about-lead {
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  background:
    radial-gradient(ellipse 88% 70% at 14% 28%, rgba(230, 238, 248, 0.55), transparent 52%),
    radial-gradient(ellipse 58% 42% at 90% 6%, var(--tint-paper-warm), transparent 50%),
    linear-gradient(178deg, #f4f6fa 0%, var(--paper) 45%, #eef1f6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* —— Services page blocks —— */
.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.service-feature--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.service-feature--reverse .service-feature__photo {
  order: 2;
}

.service-feature--reverse .service-feature__main {
  order: 1;
}

.service-feature__photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(223, 228, 236, 0.95);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #e8ecf4, #dce3ee);
}

.service-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-smooth);
}

.service-feature__photo:hover img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .service-feature__photo:hover img {
    transform: none;
  }
}

.service-feature__main {
  min-width: 0;
}

.service-feature .service-en {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin: 0 0 0.5rem;
}

.service-feature .service-num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.25rem, 5vw, 2.85rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  color: #d3d8e0;
  background-image: linear-gradient(168deg, #e8ecf4 0%, rgba(184, 151, 106, 0.65) 45%, var(--accent-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .service-feature .service-num {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.service-feature h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.service-feature p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-feature ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-feature li {
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .service-feature,
  .service-feature--reverse {
    grid-template-columns: 1fr;
  }

  .service-feature--reverse .service-feature__photo {
    order: 0;
  }

  .service-feature--reverse .service-feature__main {
    order: 0;
  }
}

.service-block {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-block-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.service-num {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--line);
  line-height: 1;
  letter-spacing: 0.02em;
}

.service-block h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.service-block .service-en {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin: 0 0 0.5rem;
}

.service-block p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-block li {
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .service-block-inner {
    grid-template-columns: 1fr;
  }

  .service-num {
    font-size: 1.75rem;
  }
}

.services-cta-wrap {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* —— About message —— */
.message-block {
  margin-top: 2rem;
  padding: clamp(2rem, 4vw, 2.75rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 253, 1) 100%);
  border: 1px solid rgba(223, 228, 236, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), inset 4px 0 0 rgba(184, 151, 106, 0.35);
}

.message-block h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.message-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Contact —— */
.contact-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3.5vw, 2.25rem);
  align-items: stretch;
  margin-bottom: clamp(2rem, 4.5vw, 2.85rem);
}

.contact-page-head__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(223, 228, 236, 0.92);
  box-shadow:
    var(--shadow-md),
    0 0 0 1px rgba(42, 80, 130, 0.05);
  aspect-ratio: 16 / 10;
  max-height: 340px;
  background: linear-gradient(145deg, #eef1f6, #e4e9f0);
}

.contact-page-head__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(168deg, transparent 50%, rgba(8, 12, 20, 0.1) 100%);
}

.contact-page-head__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-smooth);
}

.contact-page-head:hover .contact-page-head__figure img {
  transform: scale(1.03);
}

.contact-page-head__meta {
  padding: clamp(1.35rem, 3vw, 1.95rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 253, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 5px 0 0 var(--gold-bright);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.contact-page-head__label {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin: 0;
}

.contact-page-head__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.88;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .contact-page-head:hover .contact-page-head__figure img {
    transform: none;
  }
}

@media (max-width: 900px) {
  .contact-page-head {
    grid-template-columns: 1fr;
  }

  .contact-page-head__figure {
    max-height: 240px;
  }
}

.panel-title {
  margin: 0 0 1.15rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  color: var(--ink-soft);
  line-height: 1.45;
}

.panel-title__sub {
  display: block;
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 0.42rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(2rem, 5vw, 3.25rem);
  margin-top: 0;
  align-items: start;
}

.contact-panel,
.form-panel {
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.95) 0%, rgba(252, 253, 255, 0.9) 100%);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* —— Forms —— */
form {
  display: grid;
  gap: 14px;
}

.page-contact .contact-form {
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  background: linear-gradient(180deg, #fcfcfd 0%, #f6f8fb 100%);
  transition: border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
}

.page-contact input,
.page-contact select,
.page-contact textarea {
  border-radius: var(--radius-md);
  padding: 13px 16px;
  border: 1px solid rgba(218, 224, 234, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f9fafc 100%);
  box-shadow: inset 0 1px 2px rgba(10, 20, 36, 0.04);
}

.page-contact textarea {
  min-height: 176px;
}

.page-contact .btn--dark {
  width: 100%;
  justify-content: center;
  padding: 14px 1.5rem;
  margin-top: 0.15rem;
}

input:focus,
select:focus,
textarea:focus,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(42, 80, 130, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: rgba(92, 103, 122, 0.64);
  opacity: 1;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent-mid);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.small {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

/* —— Info box / legal —— */
.info-box {
  background: var(--surface);
  border: 1px solid rgba(223, 228, 236, 0.95);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.info-box.legal-prose {
  position: relative;
  overflow: hidden;
  padding-inline-start: clamp(2rem, 3.8vw, 2.75rem);
}

.info-box.legal-prose::before {
  content: "";
  position: absolute;
  left: clamp(1rem, 2vw, 1.25rem);
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--gold-bright), var(--accent-mid));
  opacity: 0.92;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.info-list li:last-child {
  border-bottom: none;
}

.label {
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--muted);
}

.legal-prose h1 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.legal-prose p,
.legal-prose li {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-prose ol {
  padding-left: 1.2rem;
}

.legal-prose ul {
  margin: 1rem 0;
  padding-left: 1.15rem;
}

.legal-prose ul li {
  margin-bottom: 0.5rem;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0c1018 0%, #080b10 100%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  border-top: 1px solid rgba(184, 151, 106, 0.15);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 15% 0%, rgba(184, 151, 106, 0.09), transparent 52%),
    radial-gradient(ellipse 70% 50% at 85% 100%, rgba(42, 80, 130, 0.12), transparent 55%);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-main {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
  color: #fff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-brand {
    background: linear-gradient(92deg, #ffffff 22%, rgba(212, 184, 150, 0.92) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.35));
  }
}

.footer-address {
  margin: 0;
  line-height: 1.8;
  font-size: 0.8rem;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-address a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0 0.35rem 0.65rem;
  margin-left: -0.65rem;
  border-left: 2px solid transparent;
  transition: color 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}

.footer-links a:hover {
  color: #fff;
  border-left-color: rgba(184, 151, 106, 0.55);
  transform: translateX(4px);
}

.footer-bar {
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding: 1rem 0 1.25rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(140px, 28vw);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 151, 106, 0.45), transparent);
  pointer-events: none;
}

.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-photo-credit {
  margin: 0;
  padding: 0 0 1rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.footer-photo-credit a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-photo-credit a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.split-prose-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.split-prose-visual__photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(223, 228, 236, 0.95);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.45s var(--ease-smooth), border-color 0.35s var(--ease-smooth);
}

.split-prose-visual__photo:hover {
  border-color: rgba(184, 151, 106, 0.22);
  box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(42, 80, 130, 0.06);
}

.split-prose-visual__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-smooth);
}

.split-prose-visual__photo:hover img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .split-prose-visual__photo:hover img {
    transform: none;
  }
}

@media (max-width: 800px) {
  .split-prose-visual {
    grid-template-columns: 1fr;
  }
}

/* About：強みブロックの質感・余白 */
.about-split {
  gap: clamp(1.75rem, 4vw, 2.85rem);
  align-items: stretch;
}

.about-prose-card {
  padding: clamp(1.5rem, 3vw, 2.15rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.94) 100%);
  border: 1px solid rgba(223, 228, 236, 0.88);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 4px 0 0 rgba(184, 151, 106, 0.4);
  max-width: none;
}

.about-split__photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.info-box--about {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.35rem);
  background: linear-gradient(182deg, #ffffff 0%, #fafbfd 52%, #f4f7fb 100%);
  border: 1px solid rgba(223, 228, 236, 0.88);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.message-block--about {
  margin-top: clamp(2.35rem, 4.5vw, 3.25rem);
  padding: clamp(2.35rem, 4vw, 3.1rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(223, 228, 236, 0.62);
  box-shadow: var(--shadow-md), inset 6px 0 0 var(--gold);
  background: linear-gradient(125deg, rgba(255, 255, 255, 1) 0%, rgba(242, 246, 252, 0.97) 100%);
}

.message-block--about h2 {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* —— 二大業務導線（トップ） —— */
.biz-pillars {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.biz-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: 0.5rem;
}

@media (max-width: 800px) {
  .biz-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.biz-pillar {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(223, 228, 236, 0.95);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 253, 0.94) 100%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth), transform 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.biz-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--gold-bright), var(--accent-mid));
  opacity: 0.85;
}

.biz-pillar:hover {
  border-color: rgba(42, 80, 130, 0.22);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-4px);
}

.biz-pillar--trade::before {
  background: linear-gradient(180deg, var(--accent-mid), rgba(184, 151, 106, 0.75));
}

.biz-pillar__label {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-mid);
  display: block;
  margin-bottom: 0.5rem;
}

.biz-pillar__title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
}

.biz-pillar p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.82;
}

.biz-pillar__link {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-mid);
}

/* —— Trade / 調達ページ —— */
.trade-intro {
  max-width: 46rem;
}

.trade-intro p + p {
  margin-top: 1rem;
}

.trade-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trade-kpi {
  min-width: 6rem;
}

.trade-kpi strong {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.trade-kpi span {
  font-size: 0.65rem;
  font-family: var(--font-en);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.trade-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .trade-strength-grid {
    grid-template-columns: 1fr;
  }
}

.trade-strength-card {
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(223, 228, 236, 0.95);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.trade-strength-card h3 {
  font-size: 1rem;
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.trade-strength-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.82;
}

.trade-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .trade-cat-grid {
    grid-template-columns: 1fr;
  }
}

.trade-cat-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(223, 228, 236, 0.95);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.trade-cat-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #e8ecf4, #dce3ee);
}

.trade-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trade-cat-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.trade-cat-card__body h3 {
  font-size: 0.98rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.trade-cat-card__body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.trade-segment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .trade-segment-grid {
    grid-template-columns: 1fr;
  }
}

.trade-segment {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(223, 228, 236, 0.95);
  background: linear-gradient(175deg, #ffffff 0%, #f8fafc 100%);
}

.trade-segment h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.trade-segment ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.75;
}

.trade-flow {
  margin-top: 2rem;
  counter-reset: tf;
}

.trade-flow ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trade-flow li {
  position: relative;
  padding: 0 0 1.35rem 3.25rem;
  border-left: 2px solid rgba(42, 80, 130, 0.2);
  margin-left: 0.65rem;
}

.trade-flow li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.trade-flow li::before {
  counter-increment: tf;
  content: counter(tf);
  position: absolute;
  left: -0.65rem;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--accent-mid), var(--accent));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(26, 51, 82, 0.25);
}

.trade-flow h3 {
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.trade-flow p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.78;
}

.trade-teaser-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 520px) {
  .trade-teaser-actions {
    flex-direction: column;
  }

  .trade-teaser-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.services-cta-wrap + .section {
  margin-top: 0;
}

/* —— Page ambience（文脈別トーン） —— */
body.page-home .hero-visual {
  border-radius: var(--radius-xl);
}

body.page-404 {
  background-image:
    radial-gradient(ellipse 72% 48% at 50% -5%, rgba(42, 80, 130, 0.085), transparent 58%),
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(232, 238, 248, 0.62), transparent 55%),
    linear-gradient(185deg, var(--paper) 0%, #e8ecf4 100%);
}

/* —— Utility —— */
.mt-0 {
  margin-top: 0;
}

.mb-section {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.text-center {
  text-align: center;
}

/* —— Scroll reveal（軽量・監視トークン尊重） —— */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.992);
  transition:
    opacity 0.85s var(--ease-smooth),
    transform 0.85s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .section-ornament__dot {
    animation: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-copy > *,
  .hero-visual {
    animation: none !important;
  }

  .photo-gallery figure:hover img,
  .service-card:hover .service-card__media img {
    transform: none !important;
  }

  .footer-links a:hover {
    transform: none;
  }
}
