/* ===========================
   POLUFT LP — style.css v4
   =========================== */

:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-body: #3a3a3a;
  --color-sub: #666666;
  --color-muted: #999999;
  --color-border: #e0e0e0;
  --color-surface: #f6f5f2;
  --color-dark: #111111;
  --color-accent: #3a9ab5;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --max-w: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--color-text);
  line-height: 1.2;
}
.logo-role {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 14px;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-sub);
  text-decoration: none;
  transition: color 0.15s;
}
.nav a:hover { color: var(--color-text); }
.nav-cta {
  color: var(--color-text) !important;
  border: 1px solid var(--color-text);
  padding: 8px 20px;
  font-size: 12px !important;
  transition: background 0.15s, color 0.15s !important;
}
.nav-cta:hover { background: var(--color-text); color: #fff !important; }

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-ja);
  font-weight: 600;
  transition: background 0.18s, transform 0.18s, gap 0.18s;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 999px;
}
.btn::after {
  content: '→';
  font-family: var(--font-en);
  font-size: 0.9em;
  transition: transform 0.18s;
}
.btn:hover::after { transform: translateX(4px); }
.btn-primary {
  background: var(--color-text);
  color: #fff;
  padding: 16px 36px;
  font-size: 15px;
}
.btn-primary:hover { background: #333; }
.btn-large { padding: 18px 48px; font-size: 16px; }
.btn-outline {
  background: #fff;
  color: var(--color-text);
  border: none;
  padding: 18px 48px;
  font-size: 16px;
}
.btn-outline:hover { background: #f0ede8; }

/* ===========================
   Section commons
   =========================== */
.section { padding: 112px 0; }

.section-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.section-label--light { color: rgba(255,255,255,0.4); }
.section-label--light::before { background: var(--color-accent); }
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding: 88px 0 104px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(150deg, #e8c99a 0%, #f0dfc0 30%, #faf5ec 65%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero-brand {
  font-family: var(--font-en);
  font-size: clamp(60px, 11vw, 104px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 52px;
  position: relative;
  display: inline-block;
}
.hero-brand::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #3a9ab5;
}
.hero-deco {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 340px;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.hero-lead {
  font-size: 17px;
  line-height: 2.1;
  color: var(--color-body);
  margin-bottom: 40px;
}
.hero-profile {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-profile-name {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hero-profile-ja {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-profile-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-sub);
  letter-spacing: 0.04em;
}
.hero-profile-role {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  text-transform: uppercase;
}

/* ===========================
   Challenges — BIG & AIRY
   =========================== */
.challenges {
  background: var(--color-surface);
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 24px 24px;
  border-top: 1px solid var(--color-border);
  padding: 112px 0;
}
.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-border);
}
.challenge-item:first-child {
  border-top: 1px solid var(--color-border);
}
.challenge-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  margin-top: 3px;
  position: relative;
}
.challenge-check::after {
  content: '';
  position: absolute;
  top: 6px; left: 5px;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--color-accent);
  border-bottom: 1.5px solid var(--color-accent);
  transform: rotate(-45deg);
}
.challenge-text {
  font-size: 19px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}

/* ===========================
   Ticker
   =========================== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-sub);
  text-transform: uppercase;
}
.ticker-dot {
  color: var(--color-accent) !important;
  font-size: 16px !important;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================
   Services
   =========================== */
.services { border-top: 1px solid var(--color-border); }
.service-list { border-top: 1px solid var(--color-border); }
.service-item {
  display: grid;
  grid-template-columns: 88px 56px 1fr;
  gap: 0 36px;
  padding: 52px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.service-icon {
  width: 48px;
  padding-top: 2px;
}
.service-number {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  padding-top: 6px;
}
.service-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}
.service-content p {
  font-size: 17px;
  color: var(--color-body);
  line-height: 2;
}

/* ===========================
   Philosophy — DARK
   =========================== */
.philosophy {
  background: var(--color-dark);
  background-image: linear-gradient(rgba(181,147,106,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(181,147,106,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #fff;
}
.philosophy .section-label { color: rgba(255,255,255,0.35); }
.philosophy .section-title { color: #fff; margin-bottom: 0; }
.philosophy-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 88px;
  align-items: start;
}
.philosophy-sidebar .section-title { word-break: keep-all; }
.philosophy-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.philosophy-text p {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  line-height: 2.1;
}
.philosophy-text strong { color: #fff; font-weight: 700; }
.philosophy-quote {
  margin-top: 16px;
  padding: 32px 0 0;
  border-top: 1px solid var(--color-accent);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.7;
}

/* ===========================
   Themes
   =========================== */
.themes { border-top: 1px solid var(--color-border); }
.themes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.theme-item {
  padding: 14px 24px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  background: var(--color-surface);
}

/* ===========================
   About
   =========================== */
.about { border-top: 1px solid var(--color-border); }
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
}
.photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.about-content {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
}
.about-content .section-label { margin-bottom: 16px; }
.about-name-ja {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.about-name-en {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-sub);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.about-role {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  text-transform: uppercase;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}


/* ===========================
   Industries
   =========================== */
.industries { border-top: 1px solid var(--color-border); }
.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.industry-item {
  padding: 12px 24px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-sub);
  letter-spacing: 0.03em;
}

/* ===========================
   Career
   =========================== */
.career { border-top: 1px solid var(--color-border); }
.career-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.career-item { padding: 24px 0; }
.career-company {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.career-divider {
  font-size: 18px;
  color: var(--color-border);
  padding: 0 28px;
}

/* ===========================
   Projects
   =========================== */
.projects {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #2563eb;
}
.project-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.project-card-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.14em;
}
.project-card-client {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.project-card-theme {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-sub);
  flex: 1;
}
.project-card-desc {
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.8;
}
.project-card-tag {
  margin-top: 8px;
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #2563eb;
  padding: 5px 14px;
  align-self: flex-start;
}

/* ===========================
   Process
   =========================== */
.process { border-top: 1px solid var(--color-border); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.process-step {
  padding: 32px 28px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-num {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.18em;
}
.step-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

/* ===========================
   CTA / Contact — DARK
   =========================== */
.cta-section {
  background-color: var(--color-dark);
  background-image: radial-gradient(ellipse at 70% 50%, rgba(181,147,106,0.12) 0%, transparent 60%);
  color: #fff;
  padding: 128px 0;
}
.cta-section .section-label { color: rgba(255,255,255,0.35); }
.cta-inner { max-width: 680px; }
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.cta-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 2;
  margin-bottom: 44px;
}
.contact-info {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  min-width: 48px;
}
.contact-row a {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
}
.contact-row a:hover { color: #fff; }

/* ===========================
   Contact Form
   =========================== */
.contact-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.contact-note {
  font-size: 16px;
  color: var(--color-body);
  line-height: 1.9;
  margin-bottom: 40px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-detail-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  text-transform: uppercase;
}
.contact-detail a {
  font-size: 14px;
  color: var(--color-body);
  text-decoration: none;
}
.contact-detail a:hover { color: var(--color-text); }

.contact-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: 8px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.form-required {
  color: #e05252;
  margin-left: 2px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s;
  border-radius: 4px;
  appearance: none;
}
.form-input::placeholder { color: var(--color-muted); }
.form-input:focus { border-color: var(--color-accent); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}
.btn-submit {
  align-self: flex-start;
  padding: 16px 48px;
  font-size: 15px;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ===========================
   Responsive
   =========================== */
/* ===========================
   Hamburger
   =========================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  z-index: 99;
  flex-direction: column;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-link {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav-cta {
  background: var(--color-text);
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-bottom: none;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .hero-inner { gap: 48px; }
  .philosophy-inner { grid-template-columns: 240px 1fr; gap: 56px; }
  .philosophy-sidebar .section-title { font-size: 30px; }
  .process-step { padding: 24px 16px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { font-size: 16px; }
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 56px 0 80px; }
  .hero-brand { font-size: 56px; margin-bottom: 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }

  .challenge-item { padding: 28px 0; gap: 20px; }
  .challenge-text { font-size: 16px; }

  .service-item { grid-template-columns: 1fr; gap: 12px; padding: 40px 0; }

  .philosophy-inner { grid-template-columns: 1fr; gap: 0; }
  .philosophy-sidebar { margin-bottom: 48px; }

  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .photo-placeholder { aspect-ratio: 4 / 3; }

  .projects-grid { grid-template-columns: 1fr; }

  .career-items { flex-direction: column; align-items: flex-start; }
  .career-divider { padding: 4px 0; transform: rotate(90deg); display: inline-block; }

  .process-steps {
    display: flex;
    flex-direction: column;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
  .process-step {
    padding: 20px 0;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .step-num { min-width: 60px; }

  .themes-list {
    border-left: none;
    flex-direction: column;
    gap: 0;
  }
  .theme-item {
    border-left: none;
    border-right: none;
    padding: 16px 0;
    background: transparent;
  }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; justify-content: center; }
}
