@charset "UTF-8";

/* ==========================================================
   SCENECRAFT — event produce company
   ink   : #14161a
   paper : #f5f2eb
   accent: #ff4d17
========================================================== */

:root {
  --ink: #14161a;
  --ink-soft: #3a3d44;
  --paper: #f5f2eb;
  --paper-dark: #ece7db;
  --accent: #ff4d17;
  --line: rgba(20, 22, 26, .16);
  --font-en: "Anton", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 2;
  letter-spacing: .04em;
  font-feature-settings: "palt";
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
figure { margin: 0; }

.pc { display: inline; }
.sp { display: none; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22,.55,.24,1), transform .9s cubic-bezier(.22,.55,.24,1);
}
.reveal.is-view { opacity: 1; transform: none; }

.reveal-img { position: relative; overflow: hidden; }
.reveal-img::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--paper);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1s cubic-bezier(.7,0,.2,1) .1s;
}
.reveal-img.is-view::after { transform: scaleX(0); }
.reveal-img img { transform: scale(1.12); transition: transform 1.4s cubic-bezier(.22,.55,.24,1) .1s; }
.reveal-img.is-view img { transform: scale(1); }

/* ---------- section title ---------- */
.sec-title { display: flex; flex-direction: column; gap: .4em; }
.sec-title__en {
  font-family: var(--font-en);
  font-size: clamp(64px, 9vw, 128px);
  line-height: .95;
  letter-spacing: .01em;
}
.sec-title__jp {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: .14em;
  display: flex; align-items: center; gap: 14px;
}
.sec-title__jp::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
}
.sec-title--light { color: var(--paper); }

/* ==========================================================
   HEADER
========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(245, 242, 235, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 32px;
}
.header__logo { display: flex; flex-direction: column; line-height: 1.2; }
.header__logo-en {
  font-family: var(--font-en);
  font-size: 24px;
  letter-spacing: .04em;
}
.header__logo-jp { font-size: 10px; letter-spacing: .18em; color: var(--ink-soft); }

.header__nav { margin-left: auto; }
.header__nav ul { display: flex; gap: 34px; }
.header__nav .en {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .06em;
  position: relative;
  padding-bottom: 4px;
}
.header__nav .en::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.header__nav a:hover .en::after { transform: scaleX(1); transform-origin: left; }

.header__cta {
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background .3s, transform .3s;
}
.header__cta:hover { background: var(--accent); transform: translateY(-2px); }

.header__menu { display: none; }

/* ==========================================================
   HERO
========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 0;
  overflow: clip;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 40px;
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 32px;
  flex: 1;
}
.hero__sub {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3em;
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0;
  animation: heroFade 1s cubic-bezier(.22,.55,.24,1) .9s forwards;
}
.hero__sub::before { content: ""; width: 46px; height: 2px; background: var(--accent); }

.hero__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(84px, 12.5vw, 190px);
  line-height: .92;
  letter-spacing: .0em;
}
.hero__title-line { display: block; overflow: hidden; padding-block: .04em; }
.hero__title-line .line-inner {
  display: inline-block;
  transform: translateY(112%);
  animation: heroLineUp 1s cubic-bezier(.16,.8,.24,1) forwards;
}
.hero__title-line:nth-child(1) .line-inner { animation-delay: .15s; }
.hero__title-line:nth-child(2) .line-inner { animation-delay: .3s; }
.hero__title-line:nth-child(3) .line-inner { animation-delay: .45s; }
.hero__title-line--accent {
  color: var(--paper); /* 背景の線を遮る不透明フチ文字にする */
  -webkit-text-stroke: 2px var(--ink);
  position: relative;
  z-index: 1;
}
.hero__title-line:nth-child(2) { margin-left: .5em; }

.hero__copy {
  margin-top: 36px;
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 500;
  line-height: 2.3;
  opacity: 0;
  animation: heroFade 1s cubic-bezier(.22,.55,.24,1) 1.05s forwards;
}
@keyframes heroLineUp { to { transform: translateY(0); } }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* hero images */
.hero__images { position: relative; height: min(72vh, 680px); }
.hero__img {
  position: absolute;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  animation: heroClip 1.1s cubic-bezier(.7,0,.2,1) forwards;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main {
  top: 0; right: 0;
  width: 78%; height: 74%;
  animation-delay: .35s;
}
.hero__img--sub {
  left: 0; bottom: 0;
  width: 44%; height: 44%;
  outline: 10px solid var(--paper);
  animation-delay: .6s;
}
@keyframes heroClip { to { clip-path: inset(0 0 0 0); } }

/* hero flow lines — 背景全体をうねる曲線(JSで描画) */
.hero__flow {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__flow svg {
  position: absolute;
  inset: -12% -6%;
  width: 112%;
  height: 124%;
  transform: rotate(-6deg);
}
.flow-line {
  stroke: rgba(20, 22, 26, .1);
  stroke-width: 1.4;
  animation: flowBreathe 14s ease-in-out infinite;
}
.flow-line:nth-child(1) { animation-duration: 13s; animation-delay: -1s; }
.flow-line:nth-child(2) { animation-duration: 16s; animation-delay: -6s; }
.flow-line:nth-child(3) { animation-duration: 14.5s; animation-delay: -3s; }
.flow-line:nth-child(4) { animation-duration: 17s; animation-delay: -9s; }
.flow-line:nth-child(5) { animation-duration: 12.5s; animation-delay: -5s; }
.flow-line--accent {
  stroke: rgba(255, 77, 23, .36);
  stroke-width: 2;
}
.flow-line--bold {
  stroke: rgba(20, 22, 26, .16);
  stroke-width: 2.4;
}
@keyframes flowBreathe {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}
.hero__badge {
  position: absolute;
  right: 6%; bottom: 12%;
  width: 132px; height: 132px;
  background: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  animation: spin 7s linear infinite;
}
.hero__badge svg { width: 112px; height: 112px; overflow: visible; }
.hero__badge text {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .14em;
  fill: var(--paper);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* hero marquee */
.hero__marquee {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  background: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}
.hero__marquee-track { display: inline-flex; animation: marquee 24s linear infinite; }
.hero__marquee-track span {
  font-family: var(--font-en);
  font-size: clamp(22px, 3vw, 34px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,242,235,.55);
  letter-spacing: .05em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   ABOUT  — 余白を楽しむセクション
========================================================== */
.about {
  position: relative;
  padding: clamp(160px, 22vw, 300px) 32px;
  text-align: center;
  overflow: clip;
}
.about__bg-word {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(120px, 22vw, 340px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(20,22,26,.07);
  pointer-events: none;
  white-space: nowrap;
}
.about__inner { position: relative; max-width: 860px; margin-inline: auto; }
.about__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-bottom: 48px;
}
.about__label .en {
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--accent);
  letter-spacing: .1em;
}
.about__title {
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .05em;
  margin-bottom: clamp(56px, 7vw, 90px);
}
.about__title-line { display: inline-block; }
.about__title-line--sm {
  font-size: clamp(26px, 3.6vw, 46px);
}
.about__title-line--lg {
  font-size: clamp(48px, 9vw, 132px);
  line-height: 1.1;
  margin-block: .15em;
}
.about__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.about__body p {
  margin-bottom: 2.2em;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 2.4;
  letter-spacing: .07em;
}
.about__body p:last-child { margin-bottom: 0; }

.about__stats {
  margin-top: clamp(90px, 10vw, 140px);
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 110px);
}
.stat__num {
  font-family: var(--font-en);
  font-size: clamp(56px, 7vw, 92px);
  line-height: 1;
}
.stat__num small {
  font-size: .38em;
  color: var(--accent);
  margin-left: 4px;
  font-family: var(--font-en);
}
.stat__label {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

/* ==========================================================
   SERVICE
========================================================== */
.service {
  background: var(--paper-dark);
  padding: clamp(140px, 16vw, 240px) 0 clamp(160px, 18vw, 260px);
  overflow: clip;
}
.service__head {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(90px, 10vw, 150px);
}
.service__lead { font-size: 15px; font-weight: 500; text-align: right; }

.service__item {
  position: relative;
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 32px;
  display: grid;
  align-items: center;
}
.service__num {
  position: absolute;
  font-family: var(--font-en);
  font-size: clamp(110px, 17vw, 260px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(20,22,26,.22);
  z-index: 2;
  pointer-events: none;
}
.service__en {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 14px;
}
.service__text h3 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.5;
  margin-bottom: 24px;
}
.service__text > p { font-size: 15px; }
.service__img { overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.service__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.service__tags li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
}

/* item 01 : 画像左・テキスト右、番号は左上に食い込む */
.service__item--01 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 90px); }
.service__item--01 .service__num { top: -0.45em; left: 0; }
.service__item--01 .service__img { margin-top: 60px; }

/* item 02 : テキスト左・画像右(小さめ・上にずらす)で非対称 */
.service__item--02 {
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 90px);
  margin-top: clamp(110px, 13vw, 200px);
}
.service__item--02 .service__text { order: 1; padding-left: clamp(0px, 4vw, 60px); }
.service__item--02 .service__img { order: 2; margin-top: -80px; }
.service__item--02 .service__num { right: 4%; top: -0.6em; }

/* item 03 : 全幅の画像バンドにテキストを重ねる */
.service__item--03 {
  width: 100%;
  padding-inline: 0;
  margin-top: clamp(120px, 14vw, 220px);
  display: block;
}
.service__item--03 .service__img-band {
  position: relative;
  height: clamp(480px, 62vh, 640px);
  overflow: hidden;
}
.service__item--03 .service__img-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,22,26,.78) 18%, rgba(20,22,26,.28) 62%, rgba(20,22,26,.1));
  z-index: 1;
}
.service__item--03 .service__img-band img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 78% 22%; /* スタッフの表情が右側に来るように調整 */
}
.service__item--03 .service__num {
  top: auto; bottom: -0.12em; right: 3%;
  -webkit-text-stroke: 1.5px rgba(245,242,235,.4);
  z-index: 3;
}
.service__text--onband {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
  max-width: none;
}
.service__text--onband h3 { color: var(--paper); }
.service__text--onband > p { max-width: 560px; }
.service__tags--dark li { border-color: rgba(245,242,235,.4); }

/* reveal-img の幕は service では背景色に合わせる */
.service .reveal-img::after { background: var(--paper-dark); }

/* ==========================================================
   FIELD — dark typographic section
========================================================== */
.field {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(140px, 16vw, 240px) 32px;
}
.field__inner { width: min(1180px, 100%); margin-inline: auto; }
.field__list { margin-top: clamp(70px, 8vw, 110px); border-top: 1px solid rgba(245,242,235,.2); }
.field__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) 8px;
  border-bottom: 1px solid rgba(245,242,235,.2);
}
.field__icon {
  width: clamp(30px, 3.4vw, 44px);
  height: clamp(30px, 3.4vw, 44px);
  color: var(--accent);
  flex-shrink: 0;
  align-self: center;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.field__icon svg { width: 100%; height: 100%; display: block; }
.field__row:hover .field__icon { transform: rotate(-10deg) scale(1.15); }
.field__name {
  font-size: clamp(22px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.4;
  transition: color .3s, transform .5s cubic-bezier(.22,.55,.24,1);
}
.field__thumb {
  margin-left: auto;
  width: clamp(120px, 16vw, 220px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;
  align-self: center;
  flex-shrink: 0;
}
.field__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.9);
  transform: scale(1.06);
  transition: filter .5s, transform .8s cubic-bezier(.22,.55,.24,1);
}
.field__row:hover .field__name { color: var(--accent); transform: translateX(10px); }
.field__row:hover .field__thumb img { filter: grayscale(0) brightness(1); transform: scale(1); }
.field__note {
  margin-top: clamp(60px, 7vw, 90px);
  font-size: 14px;
  color: rgba(245,242,235,.72);
  text-align: right;
}

/* ==========================================================
   WORKS — horizontal scroll
========================================================== */
.works {
  padding: clamp(140px, 16vw, 240px) 0;
  overflow: clip;
}
.works__head {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(60px, 7vw, 90px);
}
.works__hint {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--ink-soft);
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateX(8px); } }

.works__scroller {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  overflow-x: auto;
  padding-inline: max(32px, calc((100vw - 1280px) / 2 + 32px));
  padding-bottom: 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
  cursor: grab;
}
.works__scroller.is-drag { cursor: grabbing; user-select: none; }
.works__card { flex: 0 0 clamp(270px, 26vw, 360px); }
.works__card:nth-child(even) { margin-top: 54px; }
.works__card figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
}
.works__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.55,.24,1);
}
.works__card:hover img { transform: scale(1.06); }
.works__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.works__card h3 { font-size: 19px; font-weight: 900; letter-spacing: .05em; margin-bottom: 8px; }
.works__desc { font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }

/* ==========================================================
   FLOW
========================================================== */
.flow { background: var(--paper-dark); padding: clamp(140px, 16vw, 240px) 32px; }
.flow__inner { width: min(980px, 100%); margin-inline: auto; }
.flow__lead { margin-top: 28px; font-size: 15px; font-weight: 500; }
.flow__list { margin-top: clamp(70px, 8vw, 110px); }
.flow__step {
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 150px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.flow__step:last-child { border-bottom: 1px solid var(--line); }
.flow__num {
  font-family: var(--font-en);
  font-size: clamp(56px, 8vw, 110px);
  line-height: .9;
  color: var(--accent);
}
.flow__step:nth-child(even) .flow__num {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}
.flow__body h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.flow__en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.flow__body p { font-size: 15px; max-width: 640px; }

/* ==========================================================
   COMPANY
========================================================== */
.company { padding: clamp(140px, 16vw, 220px) 32px; }
.company__inner {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: start;
}
.company__head { position: sticky; top: 120px; }
.company__img { margin-top: 48px; }
.company__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.company__table div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.company__table div:first-child { border-top: 1px solid var(--line); }
.company__table dt { font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); }

/* ==========================================================
   CTA
========================================================== */
.cta {
  position: relative;
  padding: clamp(160px, 20vw, 280px) 32px;
  color: var(--paper);
  overflow: clip;
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; }
.cta__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,77,23,.32), transparent 55%),
              rgba(14, 15, 18, .82);
}
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__inner { position: relative; z-index: 1; }
.cta__en {
  font-family: var(--font-en);
  font-size: clamp(70px, 12vw, 170px);
  line-height: 1;
  letter-spacing: .01em;
  margin-bottom: 30px;
}
.cta__title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 26px;
}
.cta__text { font-size: 15px; color: rgba(245,242,235,.85); }
.cta__buttons {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}
.cta__tel { display: flex; flex-direction: column; gap: 4px; line-height: 1.4; }
.cta__tel small { font-size: 12px; letter-spacing: .1em; color: rgba(245,242,235,.75); }
.cta__tel span {
  font-family: var(--font-en);
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: .03em;
}
.cta__mail {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .12em;
  padding: 22px 56px;
  border-radius: 999px;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.cta__mail:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255,77,23,.4);
}

/* ==========================================================
   FOOTER
========================================================== */
.footer { background: var(--ink); color: var(--paper); padding: 56px 32px 120px; }
.footer__inner {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo { font-family: var(--font-en); font-size: 22px; letter-spacing: .05em; }
.footer__nav { display: flex; gap: 26px; margin-left: auto; }
.footer__nav a {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .12em;
  opacity: .8;
  transition: opacity .3s, color .3s;
}
.footer__nav a:hover { opacity: 1; color: var(--accent); }
.footer__copy { width: 100%; font-size: 11px; opacity: .5; letter-spacing: .1em; }

/* ==========================================================
   MOBILE FIXED CTA
========================================================== */
.fixed-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  gap: 1px;
  background: rgba(20,22,26,.2);
  backdrop-filter: blur(6px);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.22,.55,.24,1);
}
.fixed-cta.is-show { transform: none; }
.fixed-cta a {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 17px 8px calc(17px + env(safe-area-inset-bottom, 0px));
}
.fixed-cta__tel { background: var(--ink); color: var(--paper); }
.fixed-cta__contact { background: var(--accent); color: #fff; }

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__cta { margin-left: auto; }

  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__images { height: 62vw; max-height: 520px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }
  body { line-height: 1.95; }
  .pc { display: none; }
  .sp { display: inline; }

  .header__inner { padding: 14px 20px; }
  .header__cta { display: none; } /* モバイルは画面下部固定CTAに切替 */
  .fixed-cta { display: flex; }

  /* hero */
  .hero { padding-top: 110px; }
  .hero__inner { padding-inline: 20px; }
  .hero__title { font-size: clamp(72px, 21vw, 110px); }
  .hero__copy br { display: none; }
  .hero__img--sub { outline-width: 6px; }
  .hero__badge { width: 96px; height: 96px; right: 5%; bottom: 6%; }
  .hero__badge svg { width: 82px; height: 82px; }
  .hero__marquee { margin-top: 44px; }

  /* about */
  .about { padding-inline: 24px; }
  .about__title { line-height: 1.5; }
  .about__title-line--sm { font-size: clamp(22px, 6.4vw, 30px); }
  .about__title-line--lg { font-size: clamp(36px, 13vw, 58px); }
  .about__body p { font-size: 15px; line-height: 2.2; }

  /* hero flow: スマホでは少し控えめに */
  .flow-line { stroke-width: 1.1; }
  .flow-line--accent { stroke-width: 1.6; }
  .flow-line--bold { stroke-width: 1.8; }
  .about__body br { display: none; }
  .about__stats { flex-direction: row; flex-wrap: wrap; gap: 36px 40px; }

  /* service */
  .service__head { flex-direction: column; align-items: flex-start; }
  .service__lead { text-align: left; }
  .service__item--01,
  .service__item--02 { grid-template-columns: 1fr; gap: 36px; padding-inline: 20px; }
  .service__item--01 .service__img { margin-top: 36px; }
  .service__item--02 .service__text { order: 2; padding-left: 0; }
  .service__item--02 .service__img { order: 1; margin-top: 0; width: 82%; margin-left: auto; }
  .service__num { -webkit-text-stroke-width: 1px; }
  .service__item--03 .service__img-band { height: auto; min-height: 560px; }
  .service__item--03 .service__img-band::before {
    background: linear-gradient(180deg, rgba(20,22,26,.82) 30%, rgba(20,22,26,.45));
  }
  .service__text--onband { position: absolute; padding: 48px 24px; }

  /* field */
  .field { padding-inline: 20px; }
  .field__row { flex-wrap: wrap; align-items: center; gap: 14px; }
  .field__thumb { width: 96px; }

  /* works */
  .works__head { padding-inline: 20px; }
  .works__scroller { padding-inline: 20px; }
  .works__card:nth-child(even) { margin-top: 32px; }

  /* flow */
  .flow { padding-inline: 24px; }
  .flow__step { grid-template-columns: 64px 1fr; gap: 20px; }

  /* company */
  .company { padding-inline: 24px; }
  .company__inner { grid-template-columns: 1fr; }
  .company__head { position: static; }
  .company__table div { grid-template-columns: 96px 1fr; gap: 16px; font-size: 14px; }

  /* cta */
  .cta { padding-inline: 24px; }
  .cta__en { font-size: clamp(40px, 13vw, 60px); }
  .cta__text br { display: none; }
  .cta__buttons { flex-direction: column; }

  .footer { padding-bottom: 140px; }
  .footer__nav { margin-left: 0; flex-wrap: wrap; }
}

/* クライアント要望により、OS/ブラウザの「アニメーションを減らす」設定に関わらず
   このサイトの演出は常に再生する(prefers-reduced-motion では抑制しない)。 */
