/* ===== Logo Palette ===== */
:root {
  --red: #e50112;
  --red-deep: #b3000e;
  --magenta: #ce1b76;
  --cyan: #3ba7c4;
  --yellow: #fdc800;
  --ink: #0c0c0e;
  --ink-2: #15151a;
  --ink-soft: #6b6b73;
  --paper: #ffffff;
  --paper-2: #f6f5f4;
  --line: #e7e5e2;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(90%, var(--maxw)); margin-inline: auto; }
.sp-only { display: none; }

/* logo accent dots */
.logo-dots, .dots { display: inline-flex; gap: 4px; }
.logo-dots i, .dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.d-r { background: var(--red); }
.d-m { background: var(--magenta); }
.d-c { background: var(--cyan); }
.d-y { background: var(--yellow); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-img { height: 34px; width: auto; display: block; }
.logo-img--dark { display: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text small { font-size: .62rem; letter-spacing: .04em; color: rgba(255,255,255,.7); transition: color .4s; }

.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header.scrolled .logo-img--light { display: none; }
.site-header.scrolled .logo-img--dark { display: block; }
.site-header.scrolled .logo-text small { color: var(--ink-soft); }
.site-header.scrolled .nav a { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: "Poppins", sans-serif; font-size: .82rem; letter-spacing: .08em; font-weight: 500;
  color: rgba(255,255,255,.85); position: relative; transition: color .3s;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--red); transition: width .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--red); color: #fff !important; padding: 9px 22px; border-radius: 2px;
}
.nav-cta:hover { background: var(--red-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 75% 15%, #20202a 0%, #0c0c0e 60%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 18% 30%, rgba(229,1,18,.28), transparent 70%),
    radial-gradient(45% 55% at 85% 75%, rgba(206,27,118,.22), transparent 70%),
    radial-gradient(40% 50% at 60% 20%, rgba(59,167,196,.16), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(0, -3%, 0) scale(1.08); } }
.hero-grain {
  position: absolute; inset: -50%; opacity: .05;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 4px 4px;
}
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(0,0,0,.7)); }
.hero-inner {
  position: relative; z-index: 2; padding: 120px 0 80px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-photo {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: 12px; pointer-events: none;
}
.hero-photo img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font-size: .82rem; letter-spacing: .18em; color: rgba(255,255,255,.85); margin-bottom: 30px; }
.hero-eyebrow .dots i { width: 8px; height: 8px; }
.hero-title { font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.25; letter-spacing: .02em; }
.hero-title .en {
  display: block; font-family: "Cormorant Garamond", serif; font-weight: 600; font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2.1rem); letter-spacing: .03em; color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.hero-lead { margin-top: 28px; font-size: clamp(.95rem, 2vw, 1.12rem); font-weight: 300; color: rgba(255,255,255,.85); line-height: 2.1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 38px; border-radius: 2px;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  transition: transform .25s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-3px); }
.btn-line { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: "Poppins", sans-serif; font-size: .62rem; letter-spacing: .25em; color: rgba(255,255,255,.7);
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.7), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { top: -50%; } 100% { top: 100%; } }

/* ===== Marquee ===== */
.marquee { background: var(--ink); color: #fff; padding: 20px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; align-items: center; gap: 28px; white-space: nowrap; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee-track span { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.5rem; color: rgba(255,255,255,.75); }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ===== Section base ===== */
.section { padding: 130px 0; }
.sec-label { display: flex; align-items: baseline; gap: 18px; margin-bottom: 56px; }
.sec-label .en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 2.6rem; font-weight: 600; color: var(--red); }
.sec-label .jp { font-size: .9rem; letter-spacing: .14em; font-weight: 500; color: var(--ink-soft); }
.sec-label.light .en { color: #fff; } .sec-label.light .jp { color: rgba(255,255,255,.7); }
.sec-label.center { justify-content: center; }

/* ===== Concept ===== */
.concept-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.concept-lead h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 900; line-height: 1.5; letter-spacing: .02em; }
.concept-lead h2::before { content: ""; display: block; width: 54px; height: 3px; background: var(--red); margin-bottom: 26px; }
.rep { display: flex; align-items: center; gap: 18px; margin: 34px 0 0; }
.rep-photo {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: center top;
  flex: none; box-shadow: var(--shadow); border: 3px solid #fff; background: var(--paper-2);
}
.rep-meta { display: flex; flex-direction: column; line-height: 1.5; }
.rep-role { font-size: .78rem; color: var(--red); font-weight: 700; letter-spacing: .08em; }
.rep-name { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.rep-org { font-size: .8rem; color: var(--ink-soft); }
.concept-body p { color: #43434a; margin-bottom: 20px; }
.concept-body strong { color: var(--ink); border-bottom: 2px solid var(--yellow); }
.sign { text-align: right; font-weight: 700; color: var(--ink); margin-top: 26px !important; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 80px; border-top: 1px solid var(--line); padding-top: 56px; }
.stat { text-align: center; }
.stat .num { display: block; font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--ink); line-height: 1; }
.stat .num small { font-size: .9rem; font-weight: 600; color: var(--red); margin-left: 3px; }
.stat .cap { display: block; margin-top: 12px; font-size: .82rem; color: var(--ink-soft); }

/* ===== Service ===== */
.service { background: var(--paper-2); }
.service-list { display: grid; gap: 0; }
.srv { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 44px 0; border-top: 1px solid var(--line); align-items: start; }
.srv:last-child { border-bottom: 1px solid var(--line); }
.srv-no { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 3rem; font-weight: 600; color: var(--red); line-height: 1; }
.srv-main h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
.srv-main > p { color: #50505a; max-width: 760px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.chips li { font-size: .78rem; padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: #50505a; }

/* ===== Works ===== */
.works { background: var(--ink); color: #fff; }
.works-intro { color: rgba(255,255,255,.7); margin: -30px 0 50px; font-size: .95rem; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.work { background: var(--ink); padding: 40px 34px; transition: background .4s var(--ease); position: relative; }
.work::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red), var(--magenta), var(--cyan), var(--yellow)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.work:hover { background: var(--ink-2); }
.work:hover::before { transform: scaleX(1); }
.work-cat { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1rem; color: rgba(255,255,255,.5); }
.work h3 { font-size: 1.3rem; font-weight: 700; margin: 6px 0 14px; }
.work p { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.9; }

/* ===== Reason ===== */
.reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px 60px; }
.rsn { padding: 38px 0; border-top: 1px solid var(--line); }
.rsn-no { font-family: "Poppins", sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .1em; color: var(--red); }
.rsn h3 { font-size: 1.3rem; font-weight: 700; margin: 10px 0 12px; }
.rsn p { color: #50505a; font-size: .95rem; }

/* ===== Flow ===== */
.flow { background: var(--paper-2); }
.flow-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-list li { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 32px 26px; position: relative; }
.flow-list li::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--red); }
.flow-no { font-family: "Poppins", sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .08em; color: var(--red); }
.flow-list h3 { font-size: 1.12rem; margin: 10px 0 10px; }
.flow-list p { font-size: .88rem; color: var(--ink-soft); }

/* ===== Contact ===== */
.contact { background: radial-gradient(120% 90% at 80% 10%, #20202a, #0c0c0e 65%); color: #fff; text-align: center; }
.contact-head { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.5; margin: 0 0 50px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 820px; margin: 0 auto; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 4px;
  padding: 38px; display: flex; flex-direction: column; gap: 10px; transition: background .3s, transform .25s var(--ease), border-color .3s;
}
.contact-card:hover { background: rgba(255,255,255,.12); border-color: var(--red); transform: translateY(-4px); }
.c-label { font-family: "Poppins", sans-serif; font-size: .72rem; letter-spacing: .2em; color: var(--red); }
.c-main { font-family: "Poppins", sans-serif; font-size: clamp(1.3rem, 3.5vw, 1.9rem); font-weight: 700; }
.c-note { font-size: .78rem; color: rgba(255,255,255,.6); }
.contact-info { margin-top: 46px; font-size: .9rem; color: rgba(255,255,255,.75); line-height: 2.1; }
.c-extra { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 8px; }

/* ===== Footer ===== */
.site-footer { background: #050506; color: rgba(255,255,255,.6); padding: 50px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { height: 40px; width: auto; display: block; }
.footer-logo small { font-size: .68rem; }
.footer-copy { font-family: "Poppins", sans-serif; font-size: .72rem; letter-spacing: .1em; }

/* ===== Floating CTA ===== */
.floating-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: none;
  background: var(--red); color: #fff; font-weight: 700; font-size: .9rem; padding: 15px 24px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(229,1,18,.4); transition: background .3s, transform .2s;
}
.floating-cta:hover { background: var(--red-deep); transform: translateY(-2px); }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 110px 0 70px; }
  .hero-photo { max-width: 560px; }
  .hero-photo img { max-height: 360px; }
  .concept-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: 1fr; gap: 0 0; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .sp-only { display: inline; }
  .logo-img { height: 30px; }
  .logo-text { display: none; } /* スマホではロゴ横の屋号テキストを省略（ロゴに含まれるため） */
  .section { padding: 84px 0; }
  .sec-label { margin-bottom: 40px; }
  .sec-label .en { font-size: 2rem; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(12,12,14,.97); backdrop-filter: blur(8px);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { color: #fff !important; font-size: 1.05rem; padding: 12px; }
  .nav-cta { background: var(--red); width: auto; padding: 12px 40px; margin-top: 10px; }
  .nav-toggle { display: flex; }
  .site-header.scrolled .nav-toggle span { background: #fff; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-photo { max-width: 100%; }
  .hero-photo img { max-height: 260px; }
  .rep { gap: 14px; }
  .rep-photo { width: 84px; height: 84px; }
  .srv { grid-template-columns: 1fr; gap: 10px; }
  .srv-no { font-size: 2.2rem; }
  .works-grid, .flow-list, .contact-grid { grid-template-columns: 1fr; }
  .marquee-track span { font-size: 1.2rem; }
  .floating-cta { display: inline-flex; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

.nowrap { white-space: nowrap; }
