/*
Theme Name: PROMPT.
Theme URI:
Author: HIDE
Description: AIを活用したWeb制作 — ブランドサイト・LP・WordPress
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: prompt
*/

/* ===== RESET & ROOT ===== */
:root {
  --bg: #fafaf7;
  --bg-2: #f4f4ef;
  --bg-3: #ffffff;
  --ink: #1a1a1f;
  --ink-dim: #3d3f47;
  --ink-mute: #6b6e78;
  --ink-faint: #b8bac0;
  --line: rgba(26, 26, 31, 0.25);
  --line-strong: rgba(26, 26, 31, 0.18);
  --silver: #4a5468;
  --accent: #3d5378;
  --accent-deep: #25334d;
  --serif: "Instrument Serif", "Shippori Mincho", serif;
  --jp: "Shippori Mincho", serif;
  --sans: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --maxw: 1480px;
  --pad: clamp(20px, 4.4vw, 64px);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  line-height: 1.45;
  
  background:
    radial-gradient(1400px 900px at 78% -8%, rgba(61, 83, 120, 0.06), transparent 58%),
    radial-gradient(1000px 800px at -8% 35%, rgba(61, 83, 120, 0.04), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(61, 83, 120, 0.03), transparent 60%),
    url('images/body-bg.webp') center top / 1800px auto repeat,
    linear-gradient(180deg, #fafaf7 0%, #f6f6f1 40%, #fafaf7 100%);
  background-color: #fafaf7;
}
::selection {
  background: rgba(61, 83, 120, 0.18);
  color: var(--ink);
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.25;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.6 0 0 0 0 0.7 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 199;
  background: radial-gradient(130% 90% at 50% 50%, transparent 60%, rgba(26, 26, 31, 0.04) 100%);
}

/* ===== UTILITIES ===== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
}
section {
  position: relative;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  padding: 18px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    backdrop-filter 0.4s,
    background 0.4s,
    border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(250, 250, 247, 0.75);
  border-bottom-color: var(--line);
}
.brand-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}
.brand .mark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
}
.brand .mark .d {
  color: var(--accent);
}
.brand .tagline {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-dim);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--mono);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a .jp-sub {
  font-family: var(--jp);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: none;
  transition: color 0.3s;
}
.nav-links a:hover .jp-sub {
  color: var(--ink-dim);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  transition: all 0.3s ease;
  font-family: var(--jp);
}
.nav-cta:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.nav-cta .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(61, 83, 120, 0.5);
  }
  50% {
    box-shadow: 0 0 16px rgba(61, 83, 120, 0.5);
  }
}
.home .nav {
  border-bottom-color: transparent;
}
.home .nav .brand .mark,
.home .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}
.home .nav-links a .jp-sub {
  color: rgba(255, 255, 255, 0.45);
}
.home .nav-links a:hover {
  color: #fff;
}
.home .nav-links a:hover .jp-sub {
  color: rgba(255, 255, 255, 0.6);
}
.home .nav .brand .tagline {
  color: rgba(255, 255, 255, 0.4);
}

/* scrolled 後は白背景に戻るので通常色に */
.home .nav.scrolled .brand .mark,
.home .nav.scrolled .nav-links a {
  color: var(--ink-dim);
}
.home .nav.scrolled .nav-links a .jp-sub {
  color: var(--accent);
}
.home .nav.scrolled .brand .tagline {
  color: var(--ink-mute);
}
/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.hamburger__line {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.3s;
}
.hamburger__line:nth-child(1) { top: 2px; }
.hamburger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger__line:nth-child(3) { bottom: 2px; }

/* open 状態 → × に変形 */
.hamburger.is-open .hamburger__line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* home（ダークヒーロー）対応 */
.home .hamburger__line {
  background: rgba(255, 255, 255, 0.85);
}
.home .nav.scrolled .hamburger__line {
  background: var(--ink);
}
/* drawer が開いている時は常にダーク上の白 */
.hamburger.is-open .hamburger__line {
  background: #fff;
}

/* ===== DRAWER ===== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              visibility 0.45s;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  transform: translateY(16px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer.is-open .drawer__inner {
  transform: translateY(0);
}
.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.drawer__links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.drawer__en {
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 40px);
  color: #f0f2f7;
  letter-spacing: -0.02em;
  line-height: 1;
}
.drawer__jp {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}
.drawer__links a:hover .drawer__en {
  color: #a8b9d4;
}
.drawer__links a:hover .drawer__jp {
  color: rgba(255, 255, 255, 0.6);
}
.drawer__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #a8b9d4;
  color: #0d1117;
  border: 1px solid #a8b9d4;
  border-radius: 999px;
  font-family: var(--jp);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
}
.drawer__cta:hover {
  background: transparent;
  color: #a8b9d4;
}

/* 960px以下でハンバーガー表示 / nav-cta 非表示 */
@media (max-width: 960px) {
  .hamburger {
    display: block;
  }
  .nav-cta {
    display: none;
  }
}
/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: url('images/hero-bg.webp') center bottom / cover no-repeat;
  background-color: #0d1117;
}
/* オーバーレイ */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.75);
  pointer-events: none;
  z-index: 1;
}

/* コンテンツをオーバーレイの上に */
.hero-top-bar,
.hero-center,
.hero-bottom {
  position: relative;
  z-index: 2;
}

/* hero内コンテンツをグラデの上に */
.hero-top-bar,
.hero-center,
.hero-bottom {
  position: relative;
  z-index: 2;
}
.hero-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-top-bar .htb-item {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-top-bar .htb-item em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--jp);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 5px;
}

.hero-center {
  position: relative;
  z-index: 2;
  padding: 7vh 0 4vh;
  text-align: center;
}
.hero-label {
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--jp);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
}
.hero-label .bar {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(68px, 13vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: #f0f2f7;
}
.hero-title .ln {
  display: block;
  overflow: hidden;
}
.hero-title .ln span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-title .ln:nth-child(1) span {
  animation-delay: 0.05s;
}
.hero-title .dot-mark {
  color: #a8b9d4;
  font-style: normal;
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}

.hero-catch {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-catch .main-copy {
  font-family: var(--sans);
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.02em;
}
.hero-catch .main-copy em {
  font-style: normal;
  color: #f0f2f7;
}
.hero-catch .sub-copy {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.06em;
}
.hero-catch .sub-copy em {
  font-style: normal;
  color: #a8b9d4;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.hero-tags .pill {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px 14px;
}
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: #a8b9d4;
  color: #0d1117;
  border: 1px solid #a8b9d4;
  border-radius: 999px;
  font-family: var(--jp);
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
}
.hero-cta-btn:hover {
  background: transparent;
  color: #a8b9d4;
}
.hero-cta-arrow {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.hero-cta-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.hero-cta-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.hero-cta-btn:hover .hero-cta-arrow {
  transform: translateX(4px);
}
.hero-cta-note {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 2;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-bottom .l {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
  letter-spacing: 0.02em;
}
.hero-bottom .l em {
  font-style: normal;
  color: #a8b9d4;
}
.hero-bottom .c {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}
.hero-bottom .c .scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-bottom .c .v-bar {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  position: relative;
  overflow: hidden;
}
.hero-bottom .c .v-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, #a8b9d4, transparent);
  animation: vdrop 2.4s linear infinite;
}
@keyframes vdrop {
  to {
    top: 100%;
  }
}
.hero-bottom .r {
  text-align: right;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.9;
}
.hero-bottom .r em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

/* ===== NEWS ===== */
.news {
  padding: clamp(2rem, 1.27rem + 3.09vw, 3.75rem) 0;
  background: var(--accent);
}
.news-inner {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 60px;
  align-items: center;
}
.news-head {
  position: sticky;
  top: 100px;
}
.news-label {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.news-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.news-title em {
  color: #a8b9d4;
  font-style: normal;
}
.news-title .h2-sub {
  color: rgba(255, 255, 255, 0.6);
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-item {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.news-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.news-link {
  display: grid;
  grid-template-columns: 110px 110px 1fr 20px;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  transition: padding 0.4s, background 0.4s;
}
.news-link:hover {
  padding-left: 16px;
  background: rgba(255, 255, 255, 0.05);
}
.news-date {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}
.news-tag {
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 3px 10px;
  text-align: center;
  justify-self: start;
}
.news-text {
  font-family: var(--sans);
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.news-arrow {
  display: inline-block;
  width: 14px;
  height: 10px;
  position: relative;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.4s, color 0.4s, opacity 0.4s;
}
.news-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.news-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.news-link:hover .news-arrow {
  transform: translateX(4px);
  color: #fff;
}
.news-more {
  
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
 
  font-family: var(--sans);
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.05em;
  transition: border-color 0.4s, color 0.4s;
}
.news-more:hover {
  color: #a8b9d4;
  border-color: #a8b9d4;
}
.news-empty {
  padding: 22px 8px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 960px) {
  .news {
    padding: 56px 0;
  }
  .news-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .news-head {
    position: static;
  }
  .news-link {
    grid-template-columns: 90px 1fr 16px;
    gap: 14px;
    padding: 18px 4px;
  }
  .news-tag {
    grid-column: 1 / 3;
    grid-row: 1;
    justify-self: start;
    margin-bottom: -8px;
  }
  .news-date {
    grid-column: 1;
    grid-row: 2;
  }
  .news-text {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
  }
  .news-arrow {
    grid-column: 3;
    grid-row: 2;
  }
  .news-more {
    align-self: start;
  }
}
/* ===== 安心バー ===== */
.trust-bar {
  padding: clamp(1.5rem, 0.88rem + 2.65vw, 2.5rem) 0;
  background: #14151a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item {
  font-family: var(--sans);
  font-size: clamp(0.81rem, 0.73rem + 0.33vw, 1rem);
  color: #d0d2d8;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item::before {
  content: "✦";
  font-size: 9px;
  color: #a8b9d4;
}
.trust-sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ===== 制作事例 ===== */
.works {
  padding-bottom: 60px;
}
.sec-head {
  padding: 100px 0 60px;
}
.sec-head .sec-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.h2-sub {
  display: block;
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--ink-dim);
  letter-spacing: 0.03em;
  margin-top: 16px;
  font-weight: 400;
  line-height: 1.8;
}
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.97;
  letter-spacing: -0.035em;
}
.sec-head h2 em {
  color: var(--accent);
  font-style: normal;
}

.work {
  display: grid;
  gap: 36px;
  position: relative;
  margin-bottom: 140px;
}
.work-img {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work:hover .work-img img {
  transform: scale(1.03);
}
.work-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.3));
  pointer-events: none;
}

.work-copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.work-copy h3 em {
  color: var(--accent);
  font-style: normal;
}
.work-copy .w-type {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.work-copy .w-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 2.05;
  letter-spacing: 0.02em;
  max-width: 40ch;
}

.work-story {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.work-story .ws-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.9;
}
.work-story .ws-row:last-child {
  margin-bottom: 0;
}
.work-story .ws-tag {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.work-story .ws-tag.res {
  color: var(--accent);
  border-color: rgba(61, 83, 120, 0.3);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 7px;
  transition:
    padding 0.4s,
    border-color 0.4s;
}
.work-link:hover {
  padding-right: 6px;
  border-color: var(--accent);
}
.work-link .arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.work-link .arrow::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 141%;
  height: 1px;
  background: currentColor;
  transform-origin: left bottom;
  transform: rotate(-45deg);
}
.work-link .arrow::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.work-link:hover .arrow {
  transform: translate(2px, -2px);
}

.w-01 {
  grid-template-columns: 1fr 1.4fr;
}
.w-01 .work-copy {
  padding-bottom: 32px;
}
.w-01 .work-img {
  aspect-ratio: 5/4;
}
.w-02 {
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  padding-left: 6vw;
}
.w-02 .work-img {
  aspect-ratio: 16/10;
}
.w-02 .work-copy {
  padding-top: 60px;
}
.w-03 {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-right: 8vw;
}
.w-03 .work-img {
  aspect-ratio: 4/5;
  transform: translateY(-32px);
}
.w-03 .work-copy {
  padding-left: 4vw;
}
.w-04 {
  grid-template-columns: 1fr;
  margin-bottom: 160px;
}
.w-04 .work-img {
  aspect-ratio: 21/9;
}
.w-05 {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  margin-bottom: 160px;
  padding-left: 6vw;
}
.w-05 .work-img {
  aspect-ratio: 3/4;
}
.w-05 .work-copy {
  padding-bottom: 30px;
  padding-left: 20px;
}
.w-06 {
  grid-template-columns: 1fr 1.3fr;
  align-items: start;
  margin-bottom: 80px;
}
.w-06 .work-img {
  aspect-ratio: 16/11;
}
.w-06 .work-copy {
  padding-top: 50px;
  padding-right: 4vw;
}
.w-04-foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 28px;
}
.w-04-foot h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: 10px;
}
.w-04-foot h3 em {
  color: var(--accent);
  font-style: normal;
}
.w-04-foot .w-type {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.w-04-foot .w-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 2;
  letter-spacing: 0.02em;
  margin-top: 10px;
}
/* ===== FREE TOOLS ===== */
.free-tools {
  padding: 100px 0 120px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.free-tools__head {
  margin-bottom: 60px;
}
.free-tools__label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.free-tools__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5.8vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.free-tools__head h2 em {
  color: var(--accent);
  font-style: normal;
}

.free-tools__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 960px) {
  .free-tools__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* スマホ: 2列維持（gap少し詰める） */
@media (max-width: 600px) {
  .free-tools__grid {
    gap: 20px;
  }
}
.free-tools__card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.free-tools__card:hover {
  transform: translateY(-4px);
}
.free-tools__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d1117;
  border-radius: 2px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.free-tools__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.free-tools__card:hover .free-tools__thumb img {
  transform: scale(1.04);
}
.free-tools__num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}
.free-tools__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}
.free-tools__desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  flex: 1;
}
.free-tools__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  align-self: flex-start;
  transition: color 0.4s, border-color 0.4s;
}
.free-tools__card:hover .free-tools__cta {
  color: var(--accent);
  border-color: var(--accent);
}
.free-tools__arrow {
  display: inline-block;
  width: 14px;
  height: 10px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.free-tools__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.free-tools__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.free-tools__card:hover .free-tools__arrow {
  transform: translateX(4px);
}

.free-tools__foot {
  margin-top: 60px;
  text-align: center;
}
.free-tools__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
}
.free-tools__more:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 960px) {
  .free-tools {
    padding: 72px 0 80px;
  }
}
/* ===== MARQUEE ===== */
.marquee {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 52px;
  white-space: nowrap;
  animation: m 60s linear infinite;
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 44px);
  color: var(--ink-dim);
  letter-spacing: -0.02em;
}
.marquee-track .it {
  font-style: normal;
  color: var(--accent);
}
.marquee-track .sep {
  color: var(--ink-faint);
  font-size: 0.5em;
  align-self: center;
}
@keyframes m {
  to {
    transform: translateX(-50%);
  }
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.about-statement {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
}
.about-statement em {
  color: var(--accent);
  font-style: normal;
}
.about-r {
  padding-top: 4px;
}
.about-body {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 2.1;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.about-facts {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-fact {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.about-fact:last-child {
  border-bottom: 1px solid var(--line);
}
.af-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 2px;
}
.af-value {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ===== なぜPROMPT. ===== */
.story {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.story-l .s-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.story-l h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.story-l h2 em {
  color: var(--accent);
  font-style: normal;
}
.story-l .s-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 2.1;
  letter-spacing: 0.02em;
  margin-top: 28px;
  max-width: 30ch;
}

.story-r {
  padding-top: 8px;
}
.story-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.story-block:last-child {
  border-bottom: 1px solid var(--line);
}
.story-block .sb-n {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.story-block .sb-title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--ink);
  letter-spacing: -0.018em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.story-block .sb-title em {
  color: var(--accent);
  font-style: normal;
}
.story-block .sb-body {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 2.05;
  letter-spacing: 0.02em;
}

/* ===== 進め方 ===== */
.method {
  padding: 100px 0 160px;
  border-top: 1px solid var(--line);
}
.method-head {
  margin-bottom: 60px;
}
.method-head .m-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.method-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.97;
  letter-spacing: -0.035em;
}
.method-head h2 em {
  color: var(--accent);
  font-style: normal;
}

.method-step {
  display: grid;
  grid-template-columns: 60px 1fr 1.1fr;
  gap: 32px 60px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding 0.5s;
}
.method-step:hover {
  padding-left: 12px;
}
.method-step:last-child {
  border-bottom: 1px solid var(--line);
}
.method-step .ix {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.22em;
  padding-top: 10px;
}
.method-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.method-step h3 em {
  font-style: normal;
  color: var(--accent);
}
.method-step .body {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 2.05;
  letter-spacing: 0.02em;
  max-width: 45ch;
}
.method-step .tools {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 18px;
  line-height: 1.9;
}

/* ===== 対応メニュー ===== */
.menu {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.menu-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: start;
}
.menu-l {
  position: sticky;
  top: 110px;
}
.menu-l .m-label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.menu-l h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 28px;
}
.menu-l h2 em {
  color: var(--accent);
  font-style: normal;
}
.menu-l p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
  max-width: none;
  margin-bottom: 18px;
}
.menu-l p em {
  font-style: normal;
  color: var(--accent);
}

.menu-list {
  display: flex;
  flex-direction: column;
}
.menu-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.4s;
}
.menu-row:hover {
  padding-left: 10px;
}
.menu-row:last-child {
  border-bottom: 1px solid var(--line);
}
.menu-row .n {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
}
.menu-row .t {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}
.menu-row .t em {
  font-style: normal;
  color: var(--accent);
}
.menu-row .t .jp-sub {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 5px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.menu-row .meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  text-align: right;
  white-space: nowrap;
}
.menu-row .meta em {
  font-style: normal;
  color: var(--ink-dim);
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-top: 3px;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.faq-head {
  margin-bottom: 52px;
}
.faq-head .f-label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.faq-head h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.faq-head h2 em {
  color: var(--accent);
  font-style: normal;
}
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 70px;
}
.faq-item {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item .q {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 11px;
  line-height: 1.7;
  font-weight: 500;
}
.faq-item .a {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 2.05;
  letter-spacing: 0.02em;
}
.faq-item .a em {
  font-style: normal;
  color: var(--accent);
}

/* ===== CTA フォーム ===== */
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
  text-align: left;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.cta-form-wrap {
  position: relative;
}
.cta-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-label {
  font-family: var(--sans);
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.03em;
}
.req {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-left: 6px;
}
.opt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-left: 6px;
}
.form-input,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.02em;
  width: 100%;
  outline: none;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--ink-faint);
}
.form-input:focus,
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61, 83, 120, 0.08);
}
.form-select-wrap {
  position: relative;
}
.form-select,
.wpcf7-form select {
  cursor: pointer;
  padding-right: 0;
}
.form-select option,
.wpcf7-form select option {
  background: #fff;
  color: var(--ink);
}
.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  pointer-events: none;
}
.form-textarea,
.wpcf7-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.8;
}
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  padding: 13px 32px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--jp);
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s ease;
  margin: 4px auto;
}
.form-submit:hover {
  background: transparent;
  color: var(--accent);
}
.submit-arrow {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.submit-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.submit-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.form-submit:hover .submit-arrow {
  transform: translateX(4px);
}
.form-note,
.wpcf7-form .wpcf7-response-output {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  margin-top: -8px;
  border: none;
  padding: 0;
}
.form-thanks {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.form-thanks.show {
  display: flex;
}
.thanks-inner {
  text-align: center;
  padding: 40px;
}
.thanks-mark {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}
.thanks-title {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.thanks-body {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 2;
  letter-spacing: 0.02em;
}

.cta-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-side .assurance {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.cta-side .ass-item {
  text-align: center;
  flex: 1;
  min-width: 80px;
}
.cta-side .ass-item .ai {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}
.cta-side .ass-item .al {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.cta-side .c-contact {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.03em;
}
.cta-side .c-contact .ci a {
  color: var(--ink-dim);
  transition: color 0.3s;
}
.cta-side .c-contact .ci a:hover {
  color: var(--ink);
}

/* ===== CTA ===== */
.cta {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--accent);
  border-top: none;
}

.cta .c-label {
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 44px;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 36px;
  color: #fff;
}
.cta h2 .it {
  font-style: normal;
  color: var(--ink);
}
.cta h2 .dot {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}
.cta .c-copy {
  font-family: var(--sans);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: none;
  margin: 0 auto 16px;
  line-height: 2.1;
  letter-spacing: 0.02em;
}
.cta .c-note {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
  margin-bottom: 40px;
}
.cta-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}
.cta-tags .tag {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 14px;
}
.cta .actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--jp);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
}
.cta .btn-primary {
  background: #fff;
  color: var(--accent);
  border: 1px solid #fff;
}
.cta .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cta .btn-primary .arrow {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.cta .btn-primary .arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.cta .btn-primary .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.cta .btn-primary:hover .arrow {
  transform: translateX(4px);
}
.cta .btn-ghost {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.cta .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
}
.cta .assurance {
  display: flex;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 52px;
}
.cta .ass-item .ai {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(18px, 1.8vw, 24px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.cta .ass-item .al {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
}
.cta .c-contact {
  display: flex;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}
.cta .c-contact .ci {
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
}
.cta .c-contact .ci em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.01em;
}
.cta .c-contact .ci a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.cta .c-contact .ci a:hover {
  color: #fff;
}
.cta .form-submit {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.cta .form-submit:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
/* ===== 404 ===== */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  border-top: 1px solid var(--line);
}
.e404-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.e404-num {
  font-family: var(--serif);
  font-size: clamp(100px, 18vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink-faint);
}
.e404-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.e404-body {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 2.1;
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.e404-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--jp);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
}
.e404-btn:hover {
  background: transparent;
  color: var(--accent);
}
.e404-arrow {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.e404-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.e404-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.e404-btn:hover .e404-arrow {
  transform: translateX(4px);
}
/* ===== FOOTER ===== */
footer {
  padding: 52px var(--pad) 36px;
  border-top: none;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  background: #1a1a1f;
  color: #e0e2e8;
}
footer .col h4 {
  font-family: var(--sans);
  font-size: 18px;
  color: #8a8e9a;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 400;
}
footer .col a {
  color: #b0b4be;
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
footer .col a:hover {
  color: #e0e2e8;
}
footer .brand-l .mk {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #e0e2e8;
  text-transform: uppercase;
  margin-bottom: 12px;
}
footer .brand-l .mk .d {
  color: #a8b9d4;
}
footer .brand-l .tag {
  font-family: var(--sans);
  font-size: 12px;
  color: #8a8e9a;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  line-height: 1.9;
}
footer .bot {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--sans);
  font-size: 11px;
  color: #6b6f7a;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  :root {
    --pad: clamp(16px, 5vw, 32px);
  }
  .nav-links {
    display: none;
  }
  .nav-right {
    gap: 16px;
  }
  .hero {
    padding-top: 105px;
    padding-bottom: 56px;
  }
  .hero-top-bar {
    gap: 10px;
  }
  .hero-top-bar .htb-item {
    font-size: 9.5px;
  }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 24px;text-align: center;
  }
  .hero-bottom .c,
  .hero-bottom .r {
    text-align: center;
  }
  .hero-catch .main-copy {
    font-size: 15px;
  }
  .hero-tags {
    justify-content: flex-start;
  }
  .trust-inner {
    gap: 12px;
  }
  .trust-sep {
    display: none;
  }
  .sec-head {
    padding: 72px 0 44px;
  }
  .w-01,
  .w-02,
  .w-03,
  .w-05,
  .w-06 {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }
  .w-01 .work-img,
  .w-03 .work-img {
    aspect-ratio: 4/3;
  }
  .w-03 .work-img {
    transform: none;
  }
  .w-03 .work-copy {
    padding-left: 0;
  }
  .w-05 .work-copy,
  .w-06 .work-copy {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .w-04 .work-img {
    aspect-ratio: 16/9;
  }
  .w-04-foot {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work {
    margin-bottom: 80px;
  }
  .about {
    padding: 80px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story {
    padding: 80px 0;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .method {
    padding: 72px 0 100px;
  }
  .method-step {
    grid-template-columns: 44px 1fr;
    gap: 20px;
  }
  .method-step .body {
    grid-column: 1/-1;
    padding-left: 44px;
  }
  .menu {
    padding: 72px 0;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .menu-l {
    position: static;
  }
  .faq {
    padding: 72px 0;
  }
  .faq-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cta {
    padding: 100px 0 72px;
  }
  .cta h2 {
    font-size: clamp(48px, 15vw, 110px);
  }
  .cta .assurance {
    gap: 26px;
    padding: 28px 0;
  }
  .cta .c-contact {
    gap: 28px;
    justify-content: flex-start;
  }
  .cta-tags {
    justify-content: flex-start;
  }
  .cta .actions {
    justify-content: flex-start;
  }
  .cta-inner {
    gap: 48px;
    margin-top: 44px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-side .assurance {
    padding: 20px;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px var(--pad) 28px;
  }
  footer .bot {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(52px, 19vw, 95px);
  }
  .hero-top-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .cta .assurance {
    justify-content: flex-start;
  }
}

/* ============================================
   共通アプリヘッダー (.app-header)
   PROMPT.シリーズ各ツールで共有
   ============================================ */
.app-header {
  text-align: center;
  padding: 48px 0 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.app-header__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 20px;
}

.app-header h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 10px;
  color: var(--text);
}

.app-header h1 span {
  color: var(--text-muted);
}

.app-header p {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .app-header {
    padding: 32px 0 24px;
    margin-bottom: 24px;
  }
  .app-header h1 {
    font-size: 40px;
  }
  .app-header__label {
    margin-bottom: 16px;
  }
}
/* ===== DARK SECTION MODIFIER ===== */
.is-dark {
  background: #14151a;
  color: #e0e2e8;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  position: relative;
}
/* ダーク内のテキスト・線の色を上書き */
.is-dark .sec-label,
.is-dark .s-label,
.is-dark .m-label,
.is-dark .f-label,
.is-dark .sb-n,
.is-dark .h2-sub {
  color: #8a8e9a;
}
.is-dark h2,
.is-dark .story-l h2,
.is-dark .faq-head h2,
.is-dark .sb-title {
  color: #f0f1f5;
}
.is-dark h2 em,
.is-dark .sb-title em,
.is-dark .q em,
.is-dark .a em {
  color: #a8b9d4; /* ダーク背景でも読めるアクセント */
}
.is-dark .sb-body,
.is-dark .s-sub,
.is-dark .a,
.is-dark .about-body {
  color: #b0b4be;
}
.is-dark .q {
  color: #e0e2e8;
}
.is-dark .story-block,
.is-dark .faq-item {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.is-dark .story-block:last-child,
.is-dark .faq-item:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* マーキー用 */
.marquee.is-dark {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee.is-dark .marquee-track {
  color: #b0b4be;
}
.marquee.is-dark .marquee-track .it {
  color: #a8b9d4;
}
.marquee.is-dark .marquee-track .sep {
  color: rgba(255, 255, 255, 0.2);
}

/* body::before（ノイズ）がダーク上で浮くので軽く調整 */
.is-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.is-dark > .wrap {
  position: relative;
  z-index: 1;
}
/* ===== MENU ダーク上書き ===== */
.is-dark .menu-l p {
  color: #b0b4be;
}
.is-dark .menu-l p em {
  color: #a8b9d4;
}
.is-dark .menu-row {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.is-dark .menu-row:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.is-dark .menu-row .n {
  color: #6b6f7a;
}
.is-dark .menu-row .t {
  color: #e0e2e8;
}
.is-dark .menu-row .t em {
  color: #a8b9d4;
}
.is-dark .menu-row .t .jp-sub {
  color: #8a8e9a;
}
.is-dark .menu-row .meta {
  color: #8a8e9a;
}
.is-dark .menu-row .meta em {
  color: #e0e2e8;
}
/* ===== NEWS ARCHIVE ===== */
.news-archive {
  padding: 140px 0 120px;
  min-height: 80vh;
}
.news-archive__breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-archive__breadcrumb a {
  color: var(--ink-dim);
  transition: color 0.3s;
}
.news-archive__breadcrumb a:hover {
  color: var(--accent);
}
.news-archive__sep {
  color: var(--ink-faint);
}
.news-archive__current {
  color: var(--ink);
}
.news-archive__head {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.news-archive__label {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.news-archive__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.news-archive__title em {
  color: var(--accent);
  font-style: normal;
}

.news-archive__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-archive__item {
  border-bottom: 1px solid var(--line);
}
.news-archive__link {
  display: grid;
  grid-template-columns: 110px 110px 1fr 20px;
  gap: 24px;
  align-items: center;
  padding: 26px 8px;
  transition: padding 0.4s, background 0.4s;
}
.news-archive__link:hover {
  padding-left: 16px;
  background: rgba(61, 83, 120, 0.03);
}
.news-archive__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.news-archive__tag {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
  text-align: center;
  justify-self: start;
}
.news-archive__text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.news-archive__arrow {
  display: inline-block;
  width: 14px;
  height: 10px;
  position: relative;
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: transform 0.4s, color 0.4s;
}
.news-archive__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.news-archive__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.news-archive__link:hover .news-archive__arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.news-archive__pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.news-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  margin: 0 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.3s;
}
.news-archive__pagination .page-numbers:hover,
.news-archive__pagination .page-numbers.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.news-archive__pagination .dots {
  border: none;
  background: transparent;
}

.news-archive__empty {
  padding: 60px 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
}

@media (max-width: 768px) {
  .news-archive {
    padding: 100px 0 72px;
  }
  .news-archive__head {
    padding-bottom: 36px;
    margin-bottom: 8px;
  }
  .news-archive__link {
    grid-template-columns: 90px 1fr 16px;
    gap: 14px;
    padding: 20px 4px;
  }
  .news-archive__tag {
    grid-column: 1 / 3;
    grid-row: 1;
    justify-self: start;
  }
  .news-archive__date {
    grid-column: 1;
    grid-row: 2;
  }
  .news-archive__text {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
  }
  .news-archive__arrow {
    grid-column: 3;
    grid-row: 2;
  }
}
/* ===== SINGLE POST ===== */
.single-post {
  padding: 140px 0 120px;
}
.single-post__breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.single-post__breadcrumb a {
  color: var(--ink-dim);
  transition: color 0.3s;
}
.single-post__breadcrumb a:hover {
  color: var(--accent);
}
.single-post__sep {
  color: var(--ink-faint);
}
.single-post__current {
  color: var(--ink);
}

.single-post__article {
  max-width: 980px;
  margin: 0 auto;
}

.single-post__head {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.single-post__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.single-post__tag {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 12px;
}
.single-post__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.single-post__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.single-post__thumb {
  margin-bottom: 48px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.single-post__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- 本文タイポグラフィ ----- */
.single-post__body {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 2.1;
  letter-spacing: 0.02em;
}
.single-post__body > * + * {
  margin-top: 1.5em;
}
.single-post__body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2.4em;
  padding-top: 0.8em;
  border-top: 1px solid var(--line);
}
.single-post__body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-top: 2em;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.single-post__body h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-top: 1.8em;
}
.single-post__body p {
  font-size: 15px;
  line-height: 2.1;
}
.single-post__body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(61, 83, 120, 0.3);
  transition: border-color 0.3s;
}
.single-post__body a:hover {
  border-bottom-color: var(--accent);
}
.single-post__body strong {
  color: var(--ink);
  font-weight: 600;
}
.single-post__body em {
  font-style: italic;
  color: var(--ink);
}
.single-post__body ul,
.single-post__body ol {
  padding-left: 1.4em;
}
.single-post__body ul li,
.single-post__body ol li {
  margin-bottom: 0.6em;
  line-height: 1.95;
}
.single-post__body ul li::marker {
  color: var(--accent);
}
.single-post__body blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.9;
}
.single-post__body blockquote p {
  margin: 0;
}
.single-post__body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-2);
  color: var(--accent-deep);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.single-post__body pre {
  background: #14151a;
  color: #e0e2e8;
  padding: 20px 24px;
  border-radius: 4px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}
.single-post__body pre code {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
}
.single-post__body img {
  margin: 1.5em 0;
  border-radius: 2px;
  
}
.single-post__body figure {
  margin: 2em 0;
}
.single-post__body figcaption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 10px;
  text-align: center;
}
.single-post__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 14px;
  border: 1px solid var(--line);
}
.single-post__body th,
.single-post__body td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  line-height: 1.7;
}
.single-post__body th {
  background: #1a1a1f;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-color: #1a1a1f;
}
.single-post__body td {
  background: #fff;
  color: var(--ink-dim);
}
.single-post__body td a {
  color: var(--accent);
  border-bottom: 1px solid rgba(61, 83, 120, 0.3);
  transition: border-color 0.3s;
}
.single-post__body td a:hover {
  border-bottom-color: var(--accent);
}
.single-post__body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3em 0;
}

/* ----- 記事ナビ ----- */
.single-post__foot {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.single-post__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.single-post__nav a {
  
  transition: color 0.3s;
}
.single-post__nav a:hover {
 
}
.single-post__nav-prev a,
.single-post__nav-next a {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.single-post__nav-next {
  text-align: right;
}
.single-post__nav-next a {
  align-items: flex-end;
}
.single-post__nav-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}
.single-post__nav-title {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.single-post__nav-back {
  text-align: center;
}
.single-post__nav-index {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  transition: all 0.4s;
}
.single-post__nav-index:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .single-post {
    padding: 100px 0 72px;
  }
  .single-post__head {
    padding-bottom: 28px;
    margin-bottom: 32px;
  }
  .single-post__thumb {
    margin-bottom: 32px;
  }
  .single-post__body {
    font-size: 14px;
  }
  .single-post__nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .single-post__nav-prev,
  .single-post__nav-next {
    text-align: left;
  }
  .single-post__nav-next a {
    align-items: flex-start;
  }
  .single-post__nav-back {
    order: 3;
    margin-top: 8px;
  }
}