/* =====================================================
   合同会社モジダマ — style.css  v2.0
   参考: Borderless Japan / Cuebic / Hakuhodo
   ===================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── Design Tokens ── */
:root {
  --ink:     #0c0c0c;
  --ink2:    #333;
  --muted:   #666;
  --rule:    #e0e0e0;
  --bg:      #f5f5f3;
  --dark:    #0c1018;
  --accent:  #0047FF;
  --accent2: #003acc;
  --gold:    #c9922a;
  --white:   #ffffff;
  --ease:    cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,.85,.3,1);
}

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 48px; }

/* ── Section Tags ── */
.sec-tag {
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.sec-tag::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}
.sec-tag.center { display: flex; align-items: center; justify-content: center; }
.sec-tag.center::before { display: none; }
.sec-tag.center::after {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--accent);
}
.sec-tag.light { color: rgba(255,255,255,.5); }
.sec-tag.light::before, .sec-tag.light::after { background: rgba(255,255,255,.3); }

/* ── Section Titles ── */
.sec-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.sec-title.center { text-align: center; }
.sec-title.light  { color: #fff; }
.sec-title em     { font-style: normal; color: var(--accent); }

.sec-lead {
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.8;
}

.section-head { text-align: center; margin-bottom: 0; }

/* ── Paragraphs ── */
.para {
  font-size: .93rem;
  color: var(--ink2);
  line-height: 1.95;
  margin-bottom: 16px;
}
.para strong { color: var(--ink); font-weight: 700; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 38px;
  background: var(--accent);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 3px;
  transition: background .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
  box-shadow: 0 6px 24px rgba(0,71,255,.3);
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,71,255,.4);
}
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 3px;
  transition: border-color .25s, background .25s, color .25s;
}
.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.1);
}
.btn-ghost i { transition: transform .25s; }
.btn-ghost:hover i { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid rgba(255,255,255,.6);
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 3px;
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.btn-outline i { transition: transform .25s; }
.btn-outline:hover i { transform: translateX(4px); }

/* ============================
   HEADER
   ============================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .35s var(--ease), backdrop-filter .35s;
}
#header.scrolled {
  background: rgba(12,16,24,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 48px;
  display: flex; align-items: center; height: 84px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.logo-img {
  width: 52px; height: 52px;
  object-fit: contain; filter: brightness(0) invert(1);
}
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-en {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -.04em; color: #fff; line-height: 1;
}
.logo-ja { font-size: .72rem; color: rgba(255,255,255,.5); font-weight: 300; line-height: 1; }
.nav-menu { margin-left: auto; }
.nav-menu ul { display: flex; align-items: center; gap: 40px; }
.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  transition: color .22s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.nav-menu a:hover { color: #fff; }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-btn {
  padding: 8px 22px !important;
  border: 1.5px solid rgba(255,255,255,.35) !important;
  border-radius: 3px !important;
  color: #fff !important;
  transition: border-color .22s, background .22s !important;
}
.nav-btn:hover {
  border-color: var(--accent) !important;
  background: rgba(0,71,255,.12) !important;
}
.nav-btn::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5.5px; margin-left: auto; padding: 4px; }
.hamburger span {
  width: 24px; height: 1.5px;
  background: #fff; border-radius: 2px;
  display: block; transition: all .3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  object-position: center 35%;
  filter: brightness(.38) saturate(.7);
  transition: transform 12s ease;
}
.hero:hover .hero-bg img { transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(145deg,
    rgba(6,8,18,.7) 0%,
    rgba(0,40,120,.25) 50%,
    rgba(0,0,0,.7) 100%
  );
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 1180px; width: 100%;
  margin: 0 auto;
  padding: 160px 48px 130px;
}
.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .28em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px;
}
.hero-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent);
}

.hero-title {
  display: flex; flex-direction: column;
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 36px;
}
.ht-line { display: block; }
.ht-l1 { font-size: clamp(3.5rem, 10vw, 8.5rem); }
.ht-l2 {
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  display: flex; align-items: baseline; gap: .12em;
}
.ht-l2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.65);
}
.ht-l3 {
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  color: rgba(255,255,255,.28);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.58);
  line-height: 2;
  max-width: 520px;
  margin-bottom: 44px;
}
.hero-desc strong { color: rgba(255,255,255,.88); font-weight: 600; }

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* SCROLL インジケーター */
.hero-scroll {
  position: absolute; bottom: 44px; right: 52px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hs-text {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.25);
  writing-mode: vertical-lr;
  text-orientation: mixed;
}
.hs-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: lineFlow 2.2s ease-in-out infinite;
}
@keyframes lineFlow {
  0%,100% { opacity: .35; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(.4); }
}

/* 右下の装飾テキスト */
.hero-deco-text {
  position: absolute; bottom: 48px; left: 48px; z-index: 3;
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.12);
  line-height: 1.6;
  text-transform: uppercase;
}

/* ============================
   MARQUEE
   ============================ */
.marquee-wrap {
  background: var(--dark);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
}
.marquee-track {
  display: flex; gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: marqueeFlow 32s linear infinite;
}
.marquee-track span {
  font-family: 'Inter', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}
.marquee-track .sep { color: var(--accent); opacity: .6; font-size: .5rem; }
@keyframes marqueeFlow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================
   ABOUT
   ============================ */
.about { padding: 130px 0; overflow: hidden; }
.about-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 96px;
  align-items: center;
  max-width: 1180px; margin: 0 auto;
  padding: 0 48px;
}

.about-img-col { position: relative; }
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.about-photo img { transition: transform .8s var(--ease); }
.about-photo:hover img { transform: scale(1.04); }

/* 写真の左端ライン装飾 */
.about-photo::before {
  content: '';
  position: absolute; left: -20px; top: 40px; bottom: 40px;
  width: 3px;
  background: var(--accent);
  z-index: 1;
}

.about-name-card {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--dark);
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 4px;
}
.anc-role {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}
.anc-name {
  font-size: 1.05rem; font-weight: 700;
  color: #fff;
}

.about-text-col {}

.about-metrics {
  display: flex; gap: 0;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.am-item {
  flex: 1;
  display: flex; flex-direction: column; gap: 5px;
  padding: 0 28px 0 0;
  border-right: 1px solid var(--rule);
}
.am-item:last-child { border-right: none; padding: 0 0 0 28px; }
.am-item:nth-child(2) { padding: 0 28px; }
.am-item strong {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: var(--ink); line-height: 1;
}
.am-item strong small { font-size: 1rem; font-weight: 600; }
.am-item span { font-size: .7rem; color: var(--muted); letter-spacing: .06em; }

/* ============================
   SERVICES
   ============================ */
.services { background: var(--bg); padding: 130px 0; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 0;
}
.svc-card {
  position: relative; overflow: hidden;
  background: #fff;
  display: flex; flex-direction: column;
  transition: box-shadow .35s var(--ease);
}
.svc-card:hover { box-shadow: 0 30px 70px rgba(0,0,0,.15); z-index: 1; }
.svc-card.card-dark { background: var(--dark); }

.svc-img-wrap {
  width: 100%; height: 280px;
  overflow: hidden; flex-shrink: 0;
  position: relative;
}
.svc-img-wrap img { transition: transform .7s var(--ease); }
.svc-card:hover .svc-img-wrap img { transform: scale(1.07); }
.svc-card.card-dark .svc-img-wrap img {
  filter: brightness(.5) saturate(.6);
}

/* カード上の番号オーバーレイ */
.svc-img-wrap::after {
  content: attr(data-num);
  position: absolute; bottom: 16px; right: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 4rem; font-weight: 900;
  color: rgba(255,255,255,.08);
  line-height: 1;
  pointer-events: none;
}

.svc-body {
  padding: 40px 44px 44px;
  flex: 1; display: flex; flex-direction: column;
}
.svc-index {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 800;
  letter-spacing: .2em; color: var(--accent);
  margin-bottom: 12px; display: block;
}
.svc-card.card-dark .svc-index { color: rgba(255,255,255,.3); }
.svc-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--ink); margin-bottom: 16px; line-height: 1.4;
}
.svc-card.card-dark .svc-body h3 { color: #fff; }
.svc-body p {
  font-size: .875rem; color: var(--ink2);
  line-height: 1.9; flex: 1;
}
.svc-card.card-dark .svc-body p { color: rgba(255,255,255,.5); }
.svc-cta {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 26px; align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; color: var(--accent);
  transition: gap .25s;
}
.svc-cta:hover { gap: 12px; }
.svc-card.card-dark .svc-cta { color: rgba(255,255,255,.55); }

/* ============================
   STATEMENT
   ============================ */
.statement {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 140px 48px;
}
.stmt-bg {
  position: absolute; inset: 0;
}
.stmt-bg img { filter: brightness(.12) saturate(.4); }
.stmt-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,71,255,.06) 0%, transparent 100%);
}
.stmt-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 880px;
}
.stmt-en {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .28em;
  color: rgba(255,255,255,.25);
  text-transform: uppercase; margin-bottom: 40px;
}
.stmt-quote { margin-bottom: 36px; }
.sq-main {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.04em; color: #fff;
}
.sq-accent {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.55);
}
.stmt-body {
  font-size: 1rem; color: rgba(255,255,255,.5);
  line-height: 2.1; margin-bottom: 28px;
}
cite {
  font-family: 'Inter', sans-serif;
  font-size: .76rem; font-style: normal;
  color: rgba(255,255,255,.25); letter-spacing: .08em;
}

/* ============================
   WHY US
   ============================ */
.whyus { padding: 130px 0; background: #fff; }
.why-grid {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 64px;
}
.why-item {
  display: flex; align-items: flex-start; gap: 36px;
  padding: 44px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding .25s var(--ease);
}
.why-item:first-child { border-top: 1px solid var(--rule); }
.why-item:hover { padding-left: 12px; }
.why-num {
  font-family: 'Inter', sans-serif;
  font-size: 3rem; font-weight: 900;
  color: var(--rule); line-height: 1;
  flex-shrink: 0; width: 80px;
  transition: color .25s;
}
.why-item:hover .why-num { color: var(--accent); }
.why-body h3 {
  font-size: 1.06rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; line-height: 1.5;
}
.why-body p { font-size: .875rem; color: var(--muted); line-height: 1.9; }

/* ============================
   WORKS
   ============================ */
.works { padding: 130px 0; background: var(--bg); }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.work-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,.12);
}
.work-thumb {
  position: relative; height: 230px; overflow: hidden;
}
.work-thumb img { transition: transform .7s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.08); }
.work-hover {
  position: absolute; inset: 0;
  background: rgba(0,71,255,.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.work-card:hover .work-hover { opacity: 1; }
.work-hover span {
  font-family: 'Inter', sans-serif;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .24em; color: #fff;
}
.work-info { padding: 28px 30px 32px; }
.work-tag {
  font-family: 'Inter', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; color: var(--accent);
  text-transform: uppercase;
  display: inline-block; margin-bottom: 12px;
}
.work-info h3 {
  font-size: .95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; line-height: 1.55;
}
.work-info p { font-size: .82rem; color: var(--muted); line-height: 1.8; }

/* ============================
   FLOW
   ============================ */
.flow { padding: 130px 0; background: #fff; }
.flow-steps {
  display: flex; align-items: flex-start; gap: 0;
  margin-top: 64px;
}
.fs-item {
  flex: 1;
  background: var(--bg);
  padding: 40px 24px 36px;
  text-align: center;
  border-radius: 2px;
  position: relative;
  transition: background .28s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fs-item:hover {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,.09);
}
.fs-icon {
  width: 52px; height: 52px;
  background: rgba(0,71,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--accent);
  margin: 0 auto 14px;
}
.fs-num {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 800;
  letter-spacing: .16em; color: var(--accent);
  margin-bottom: 12px;
}
.fs-item h3 { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.fs-item p  { font-size: .78rem; color: var(--muted); line-height: 1.8; }
.fs-arrow {
  flex-shrink: 0;
  display: flex; align-items: center;
  padding: 0 6px;
  color: var(--rule);
  font-size: .75rem;
  margin-top: 55px;
}

/* ============================
   COMPANY
   ============================ */
.company { padding: 130px 0; background: var(--bg); }
.co-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.co-tbl { width: 100%; border-collapse: collapse; margin-top: 8px; }
.co-tbl tr { border-bottom: 1px solid var(--rule); }
.co-tbl tr:first-child { border-top: 1px solid var(--rule); }
.co-tbl th {
  width: 120px; padding: 18px 0;
  font-size: .76rem; font-weight: 700;
  color: var(--muted); vertical-align: top;
  font-family: 'Inter', sans-serif; letter-spacing: .04em;
}
.co-tbl td {
  padding: 18px 0 18px 16px;
  font-size: .9rem; color: var(--ink); line-height: 1.7;
}

.portrait-img {
  position: relative; width: 100%; aspect-ratio: 3/4;
  overflow: hidden; border-radius: 2px;
}
.portrait-img img { transition: transform .7s var(--ease); }
.portrait-img:hover img { transform: scale(1.04); }
.portrait-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(12,16,24,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 20px; border-radius: 2px;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 2px solid var(--accent);
}
.portrait-badge span {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; letter-spacing: .16em;
  color: rgba(255,255,255,.4); text-transform: uppercase;
}
.portrait-badge strong { font-size: .95rem; color: #fff; font-weight: 700; }

.co-message {
  margin-top: 28px;
  padding: 28px 30px;
  background: #fff;
  border-radius: 2px;
  border-left: 3px solid var(--accent);
}
.co-message h3 {
  font-size: .88rem; font-weight: 700;
  color: var(--accent); margin-bottom: 12px;
  letter-spacing: .06em;
}
.co-message p { font-size: .875rem; color: var(--ink2); line-height: 1.9; }

/* ============================
   CONTACT
   ============================ */
.contact {
  padding: 130px 0;
  background: var(--dark);
  position: relative; overflow: hidden;
}
/* ノイズ装飾 */
.contact::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,71,255,.1) 0%, transparent 65%);
  pointer-events: none;
}
.contact::after {
  content: '';
  position: absolute; bottom: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,71,255,.06) 0%, transparent 65%);
  pointer-events: none;
}
.ct-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 88px;
  align-items: start;
  position: relative; z-index: 1;
}
.ct-desc {
  font-size: .93rem; color: rgba(255,255,255,.5);
  line-height: 2; margin-bottom: 32px;
}
.ct-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.ct-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .875rem; color: rgba(255,255,255,.65);
}
.ct-list li i { color: #4ade80; font-size: .72rem; }
.ct-address { display: flex; flex-direction: column; gap: 10px; }
.ct-address p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .84rem; color: rgba(255,255,255,.35);
  line-height: 1.6;
}
.ct-address i { color: rgba(255,255,255,.25); width: 16px; margin-top: 2px; flex-shrink: 0; }
.ct-address a:hover { color: rgba(255,255,255,.75); }

/* Form */
.ct-form { display: flex; flex-direction: column; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label {
  display: block; font-size: .76rem; font-weight: 600;
  color: rgba(255,255,255,.45); margin-bottom: 8px; letter-spacing: .04em;
}
.req { color: #60a5fa; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 13px 17px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  color: #fff; font-size: .9rem; font-family: inherit;
  outline: none;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.18); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.08);
}
.fg select option { background: var(--dark); }
.fg textarea { resize: vertical; }
.form-note {
  text-align: center; font-size: .7rem;
  color: rgba(255,255,255,.2); margin-top: 12px;
}
.form-success { text-align: center; padding: 70px 20px; }
.form-success i { font-size: 3.2rem; color: #4ade80; display: block; margin-bottom: 20px; }
.form-success h3 { font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.form-success p { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.85; }

/* ============================
   FOOTER
   ============================ */
.footer { background: #060b14; padding: 80px 0 36px; }
.ft-body {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 32px;
}
.ft-logo-img {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .6;
  margin-bottom: 12px;
}
.ft-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: #fff; letter-spacing: -.04em; line-height: 1;
}
.ft-name-ja { font-size: .68rem; color: rgba(255,255,255,.3); margin: 6px 0 14px; }
.ft-claim { font-size: .8rem; color: rgba(255,255,255,.25); }
.ft-nav { display: flex; gap: 72px; }
.ft-col-ttl {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; color: rgba(255,255,255,.25);
  text-transform: uppercase; margin-bottom: 18px;
}
.ft-col ul { display: flex; flex-direction: column; gap: 12px; }
.ft-col a { font-size: .82rem; color: rgba(255,255,255,.35); transition: color .22s; }
.ft-col a:hover { color: rgba(255,255,255,.75); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; }
.ft-bottom p { font-size: .7rem; color: rgba(255,255,255,.18); }
.ft-links { display: flex; gap: 28px; }
.ft-links a { font-size: .7rem; color: rgba(255,255,255,.18); transition: color .22s; }
.ft-links a:hover { color: rgba(255,255,255,.5); }

/* ============================
   PAGE TOP
   ============================ */
.pagetop {
  position: fixed; bottom: 32px; right: 32px; z-index: 99;
  width: 46px; height: 46px;
  background: var(--accent);
  color: #fff; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s, transform .3s, background .25s;
  box-shadow: 0 6px 24px rgba(0,71,255,.45);
}
.pagetop.show { opacity: 1; transform: translateY(0); }
.pagetop:hover { background: var(--accent2); transform: translateY(-3px) !important; }

/* ============================
   AOS（スクロールアニメーション）
   ============================ */
[data-aos] {
  opacity: 0;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
[data-aos="fade-up"]    { transform: translateY(36px); }
[data-aos="fade-left"]  { transform: translateX(36px); }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos].anim         { opacity: 1 !important; transform: none !important; }

/* ============================
   TOP 追加スタイル
   ============================ */
.top-about   { padding: 130px 0; overflow: hidden; }
.top-services { background: var(--bg); padding: 130px 0; }
.top-works   { padding: 130px 0; background: var(--bg); }

.btn-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; color: var(--accent);
  margin-bottom: 40px;
  transition: gap .25s;
}
.btn-more:hover { gap: 14px; }

.sec-more { text-align: center; margin-top: 56px; }

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: var(--dark);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(0,71,255,.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative; z-index: 1;
}
.cta-inner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900; color: #fff;
  margin-bottom: 16px; letter-spacing: -.02em;
}
.cta-inner p { font-size: .95rem; color: rgba(255,255,255,.5); margin-bottom: 36px; }

/* ============================
   PAGE HERO（下層ページ共通）
   ============================ */
.page-hero {
  position: relative;
  height: 460px;
  display: flex; align-items: center;
  overflow: hidden;
}
.ph-bg { position: absolute; inset: 0; }
.ph-bg img { filter: brightness(.3) saturate(.6); object-position: center 35%; }
.ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(0,30,100,.5) 0%, rgba(0,0,0,.6) 100%);
}
.ph-content {
  position: relative; z-index: 2;
  max-width: 1180px; width: 100%;
  margin: 0 auto; padding: 0 48px;
  padding-top: 72px;
}
.ph-label {
  font-family: 'Inter', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .28em; color: rgba(255,255,255,.4);
  text-transform: uppercase; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.ph-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
}
.ph-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.03em; line-height: 1.15;
  margin-bottom: 14px;
}
.ph-sub { font-size: .93rem; color: rgba(255,255,255,.5); }
.ph-breadcrumb {
  position: absolute; bottom: 24px; right: 48px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .68rem; letter-spacing: .08em;
  color: rgba(255,255,255,.3);
}
.ph-breadcrumb a { color: rgba(255,255,255,.4); transition: color .22s; }
.ph-breadcrumb a:hover { color: rgba(255,255,255,.75); }
.ph-breadcrumb i { font-size: .55rem; color: rgba(255,255,255,.2); }

.nav-active { color: #fff !important; }
.nav-active::after { transform: scaleX(1) !important; }

/* ============================
   ABOUT / MESSAGE
   ============================ */
.profile    { padding: 130px 0; overflow: hidden; }
.message    { padding: 130px 0; background: var(--bg); }
.rep-message { padding: 130px 0; background: var(--bg); }
.msg-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 88px;
  align-items: start;
}
.msg-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--ink); line-height: 1.5;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.msg-cite {
  display: block; margin-top: 28px;
  font-family: 'Inter', sans-serif;
  font-size: .78rem; font-style: normal;
  color: var(--muted); letter-spacing: .06em;
}
.msg-portrait-small {
  width: 100%; aspect-ratio: 3/4;
  overflow: hidden; border-radius: 2px;
  margin-top: 28px;
}

/* ============================
   SERVICES — サービス詳細
   ============================ */
.service-detail { padding: 120px 0; background: #fff; }
.service-detail.bg-light { background: var(--bg); }
.sd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.sd-img {
  width: 100%; aspect-ratio: 4/3;
  overflow: hidden; border-radius: 2px;
  position: relative;
}
.sd-img::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(0,71,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.sd-img img { transition: transform .7s var(--ease); }
.sd-img:hover img { transform: scale(1.04); }
.sd-num {
  font-family: 'Inter', sans-serif;
  font-size: 4.5rem; font-weight: 900;
  color: var(--rule); line-height: 1;
  display: block; margin-bottom: -8px;
}
.sd-list {
  display: flex; flex-direction: column; gap: 11px;
  margin: 28px 0 36px;
}
.sd-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .875rem; color: var(--ink2); line-height: 1.6;
}
.sd-list li i { color: var(--accent); font-size: .72rem; margin-top: 4px; flex-shrink: 0; }

/* ============================
   WORKS — 実績詳細
   ============================ */
.works-intro { padding: 100px 0 60px; background: #fff; }
.works-full  { padding: 0 0 130px; background: #fff; }
.works-filter {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 56px;
}
.wf-btn {
  padding: 8px 22px;
  border: 1.5px solid var(--rule); border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; color: var(--muted);
  cursor: pointer;
  transition: border-color .22s, background .22s, color .22s;
}
.wf-btn:hover, .wf-btn.active {
  border-color: var(--accent); background: var(--accent); color: #fff;
}
.works-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card-full {
  background: var(--bg); border-radius: 2px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work-card-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.1);
}
.work-result {
  display: flex; gap: 16px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--rule); flex-wrap: wrap;
}
.work-result span { font-family: 'Inter', sans-serif; font-size: .72rem; color: var(--muted); }
.work-result strong { color: var(--accent); font-weight: 700; }

/* ============================
   COMPANY — 詳細
   ============================ */
.company-detail { padding: 130px 0; background: #fff; }
.vision { padding: 130px 0; background: var(--bg); }
.vm-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 64px;
}
.vm-card {
  background: #fff; border-radius: 2px;
  padding: 44px 36px 40px;
  border-top: 3px solid var(--accent);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vm-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.vm-icon {
  width: 52px; height: 52px;
  background: rgba(0,71,255,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--accent); margin-bottom: 20px;
}
.vm-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .2em; color: var(--accent); margin-bottom: 14px;
}
.vm-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--ink); line-height: 1.5; margin-bottom: 14px;
}
.vm-card p { font-size: .85rem; color: var(--muted); line-height: 1.85; }

/* ============================
   CONTACT ページ
   ============================ */
.contact-page {
  padding: 130px 0;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.contact-page::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,71,255,.1) 0%, transparent 65%);
  pointer-events: none;
}
.ct-services { margin-top: 36px; }
.ct-svc-ttl {
  font-family: 'Inter', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; color: rgba(255,255,255,.3);
  text-transform: uppercase; margin-bottom: 12px;
}
.ct-svc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-svc-tag {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 2px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; color: rgba(255,255,255,.4);
  transition: border-color .22s, color .22s;
}
.ct-svc-tag:hover { border-color: var(--accent); color: rgba(255,255,255,.8); }

/* ============================
   FAQ
   ============================ */
.faq { padding: 130px 0; background: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 64px; }
.faq-item { border-bottom: 1px solid var(--rule); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 0; cursor: pointer;
  transition: background .2s;
}
.faq-q:hover { background: var(--bg); padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
.faq-icon {
  font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 900; color: var(--accent);
  flex-shrink: 0; width: 32px; height: 32px;
  background: rgba(0,71,255,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.faq-q p { flex: 1; font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.5; }
.faq-arrow { font-size: .72rem; color: var(--muted); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0 0 0 52px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 0 26px 52px; }
.faq-a p { font-size: .88rem; color: var(--muted); line-height: 1.9; }

/* ============================
   COMPANY — 代表の強み
   ============================ */
.rep-strengths { padding: 130px 0; background: #fff; }
.str-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.str-card {
  background: var(--bg);
  border-radius: 2px;
  padding: 48px 44px 44px;
  border-top: 3px solid var(--accent);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.str-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.08);
}
.str-card-icon {
  width: 56px; height: 56px;
  background: rgba(0,71,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--accent);
  margin-bottom: 24px;
}
.str-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink); margin-bottom: 16px; line-height: 1.45;
}
.str-card p {
  font-size: .875rem; color: var(--ink2);
  line-height: 1.95; margin-bottom: 24px;
}
.str-card p strong { color: var(--ink); font-weight: 700; }
.str-card-badge {
  display: inline-flex;
  padding: 6px 16px;
  background: rgba(0,71,255,.08);
  border: 1px solid rgba(0,71,255,.2);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .14em; color: var(--accent);
  text-transform: uppercase;
}

/* ============================
   RESPONSIVE — 代表の強み
   ============================ */
  .container, .nav-inner, .hero-content { padding-left: 32px; padding-right: 32px; }
  .about-inner  { grid-template-columns: 360px 1fr; gap: 64px; padding: 0 32px; }
  .svc-grid     { grid-template-columns: 1fr; }
  .co-layout    { grid-template-columns: 1fr; gap: 56px; }
  .works-grid   { grid-template-columns: 1fr 1fr; }
  .works-grid-full { grid-template-columns: 1fr 1fr; }
  .ft-nav       { gap: 48px; }
  .flow-steps   { flex-wrap: wrap; gap: 3px; }
  .fs-arrow     { display: none; }
  .fs-item      { min-width: calc(50% - 2px); }
  .sd-layout    { grid-template-columns: 1fr; gap: 48px; }
  .msg-layout   { grid-template-columns: 1fr; gap: 48px; }
  .vm-grid      { grid-template-columns: 1fr 1fr; }
  .ph-content   { padding: 0 32px; padding-top: 72px; }
  .ph-breadcrumb { right: 32px; }
  .str-cards    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container, .nav-inner { padding: 0 20px; }
  .hero-content { padding: 130px 20px 100px; }

  /* ナビ */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(12,16,24,.97);
    backdrop-filter: blur(16px);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav-menu.open { max-height: 500px; }
  .nav-menu ul   { flex-direction: column; gap: 0; padding: 0; }
  .nav-menu li   { border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-menu a    { display: block; padding: 17px 20px; font-size: .88rem; }
  .nav-btn       { border-radius: 0 !important; }

  /* HERO */
  .ht-l1, .ht-l2, .ht-l3 { font-size: 3.2rem; }
  .hero-actions  { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-scroll   { display: none; }
  .hero-deco-text { display: none; }

  /* PAGE HERO */
  .page-hero     { height: 360px; }
  .ph-content    { padding: 0 20px; padding-top: 72px; }
  .ph-breadcrumb { right: 20px; }
  .ph-title      { font-size: 2.2rem; }

  /* ABOUT */
  .about { padding: 90px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 52px; padding: 0 20px; }
  .about-photo::before { display: none; }
  .about-photo { aspect-ratio: 4/3; }
  .profile, .message, .rep-message { padding: 80px 0; }
  .msg-portrait-small { aspect-ratio: 3/2; }

  /* SERVICES */
  .services { padding: 90px 0; }
  .svc-img-wrap  { height: 220px; }
  .service-detail { padding: 80px 0; }
  .sd-layout     { grid-template-columns: 1fr; gap: 40px; }

  /* STATEMENT */
  .statement { padding: 110px 20px; }
  .sq-main, .sq-accent { font-size: 2.8rem; }

  /* WHY US */
  .whyus { padding: 90px 0; }
  .why-item { flex-direction: column; gap: 12px; }
  .why-num  { font-size: 2rem; width: auto; }

  /* WORKS */
  .works { padding: 90px 0; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid-full { grid-template-columns: 1fr; }
  .works-intro, .works-full { padding-top: 80px; padding-bottom: 80px; }
  .works-filter { gap: 8px; }

  /* FLOW */
  .flow { padding: 90px 0; }
  .flow-steps { flex-direction: column; }
  .fs-item { min-width: 100%; }

  /* COMPANY */
  .company { padding: 90px 0; }
  .co-layout { gap: 48px; }
  .company-detail, .vision, .rep-strengths { padding: 80px 0; }
  .vm-grid { grid-template-columns: 1fr; }
  .str-cards { grid-template-columns: 1fr; gap: 20px; }
  .str-card { padding: 36px 28px 32px; }
  .msg-layout { grid-template-columns: 1fr; gap: 40px; }

  /* CONTACT */
  .contact { padding: 90px 0; }
  .contact-page { padding: 80px 0; }
  .ct-layout { grid-template-columns: 1fr; gap: 52px; }
  .fg-row { grid-template-columns: 1fr; }
  .faq { padding: 80px 0; }

  /* CTA BANNER */
  .cta-banner { padding: 80px 0; }
  .btn-primary.full, .cta-inner .btn-primary { width: auto; }

  /* FOOTER */
  .ft-body   { flex-direction: column; gap: 44px; }
  .ft-nav    { flex-direction: column; gap: 36px; }
  .ft-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

@media (max-width: 480px) {
  .about-metrics { flex-direction: column; gap: 24px; }
  .am-item { border-right: none; padding: 0 0 24px; border-bottom: 1px solid var(--rule); }
  .am-item:last-child { border-bottom: none; padding: 0; }
  .vm-grid { grid-template-columns: 1fr; }
  .works-filter { flex-wrap: wrap; }
}
