:root {
  --bg: #000;
  --tile: #161617;
  --tile-hi: #1d1d1f;
  --text: #f5f5f7;
  --text-soft: #a1a1a6;
  --text-dim: #6e6e73;
  --line: rgba(255, 255, 255, .12);
  --grad: linear-gradient(100deg, #f9e0b0 0%, #eda35a 45%, #d9566b 100%);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 48px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 12px; }
.nav a { text-decoration: none; white-space: nowrap; color: var(--text); opacity: .8; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav-lang { opacity: .6 !important; }
.nav-lang:hover { opacity: 1 !important; }
.nav-cta { background: var(--text); color: #000 !important; opacity: 1 !important; padding: 4px 14px; border-radius: 999px; font-weight: 500; }

/* hero */
.hero {
  position: relative; text-align: center; overflow: hidden;
  min-height: calc(100vh - 48px); display: flex; align-items: center; padding: 120px 0 160px;
}
.hero-bg, .photo-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg img, .photo-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg img { animation: drift 28s ease-out both; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.38) 38%, rgba(0,0,0,.30) 60%, #000 100%),
    radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.35), transparent 70%);
}
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero .wrap { width: 100%; }
.hero .wrap { position: relative; }
.eyebrow { font-size: 21px; font-weight: 600; color: rgba(245,245,247,.8); margin-bottom: 14px; letter-spacing: .01em; }
h1 {
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
  font-size: clamp(46px, 8.6vw, 104px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em;
}
.lead { margin: 32px auto 0; max-width: 30em; color: rgba(245,245,247,.86); font-size: clamp(17px, 2vw, 21px); line-height: 1.7; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 36px; }

.btn {
  display: inline-block; text-decoration: none; font-size: 17px; font-weight: 500;
  padding: 11px 24px; border-radius: 999px; background: var(--text); color: #000;
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: scale(1.04); }
.link { text-decoration: none; font-size: 17px; color: #f3b673; }
.link:hover { text-decoration: underline; }
.link::after { content: " ›"; }

/* sections */
.section { padding: 140px 0; }
h2 { font-size: clamp(36px, 6vw, 72px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.section-lead { color: var(--text-soft); font-size: clamp(17px, 2vw, 21px); font-weight: 500; max-width: 32em; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* statement */
.statement { position: relative; overflow: hidden; padding: 180px 0; }
.statement .photo-bg img { filter: grayscale(.4) brightness(.55); }
.statement .photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.7) 70%, #000 100%); }
.statement .wrap { position: relative; }
.statement p.big {
  font-size: clamp(34px, 6.4vw, 80px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; color: rgba(245,245,247,.22);
  transition: color .8s ease;
}
.statement p.big.in { color: var(--text); }
.statement p.big.in.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 96px; border-top: 1px solid var(--line); padding-top: 48px; }
.value-num { font-size: 14px; font-weight: 600; color: var(--text-dim); letter-spacing: .08em; }
.value h3 { font-size: 21px; font-weight: 600; margin: 8px 0 10px; line-height: 1.45; }
.value p { font-size: 15px; color: var(--text-soft); line-height: 1.75; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 20px; margin-top: 72px; }
.tile {
  position: relative; overflow: hidden; background: var(--tile); border-radius: var(--radius);
  padding: 48px 44px; display: flex; flex-direction: column; min-height: 380px;
  transition: background .3s ease, transform .3s ease;
}
.tile:hover { background: var(--tile-hi); }
.tile-lg { text-align: center; align-items: center; }
.tile-tag { font-size: 14px; font-weight: 600; color: var(--text-soft); }
.tile h3 { font-size: 28px; font-weight: 700; line-height: 1.3; margin: 6px 0 14px; letter-spacing: -.01em; }
.tile-lg h3 { font-size: clamp(40px, 4.6vw, 56px); margin: 6px 0 14px; letter-spacing: -.03em; }
.tile p.desc { font-size: 15.5px; color: var(--text-soft); line-height: 1.75; max-width: 30em; }
.tile .link { margin-top: auto; padding-top: 28px; }
.tile .photo-bg { z-index: 0; }
.tile .photo-bg img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .photo-bg img { transform: scale(1.05); }
.tile .photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.15) 72%, rgba(0,0,0,.45) 100%);
}
.tile-photo { justify-content: flex-end; }
.tile-photo .photo-bg img { filter: saturate(.75); }
.tile-photo .photo-bg::after {
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.86) 68%, rgba(0,0,0,.94) 100%);
}
.tile-photo .tile-tag { color: rgba(245,245,247,.78); }
.tile-photo p.desc { color: rgba(245,245,247,.84); }
.tile-lg .tile-tag { color: rgba(245,245,247,.75); }
.tile-lg p.desc { color: rgba(245,245,247,.82); }
.tile-lg .link { color: #fff; font-weight: 500; }
.tile-lg h3.tile-logo { margin: 14px 0 18px; line-height: 0; display: flex; align-items: center; min-height: 84px; }
.tile-logo img { display: block; height: auto; filter: drop-shadow(0 2px 18px rgba(0,0,0,.45)); }
.tile-sea .tile-logo img { width: min(300px, 70vw); }
.tile-green .tile-logo img { width: min(270px, 66vw); }
.tile > *:not(.photo-bg) { position: relative; z-index: 1; }

/* company profile */
.profile { margin-top: 64px; border-top: 1px solid var(--line); }
.profile > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.profile dt { color: var(--text-soft); font-weight: 500; }
.profile dd { font-weight: 500; }
.profile li + li { margin-top: 6px; }
.todo { border: 1px solid #f3b673; color: #f3b673; padding: 1px 10px; border-radius: 999px; font-size: .82em; font-weight: 500; white-space: nowrap; }

/* contact */
.contact { position: relative; overflow: hidden; padding: 180px 0; }
.contact .photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 35%, rgba(0,0,0,.6) 70%, #0b0b0c 100%);
}
.contact .section-lead { color: rgba(245,245,247,.82); }
.contact .note { color: rgba(245,245,247,.55); }
.contact .wrap { position: relative; }
.contact h2 .grad { white-space: nowrap; }
.contact .btn { margin-top: 40px; }
.contact-form { margin: 56px auto 0; max-width: 640px; text-align: left; padding: 36px; border-radius: var(--radius);
  background: rgba(22, 22, 23, .62); border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-soft); margin-bottom: 6px; }
.field label span { color: #f3b673; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 12px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field 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 1.5l5 5 5-5' fill='none' stroke='%23a1a1a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { color: #000; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #f3b673; box-shadow: 0 0 0 4px rgba(243, 182, 115, .18); background: rgba(255, 255, 255, .09); }
.contact-form .btn { margin-top: 8px; width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn:hover { transform: scale(1.015); }
.form-note { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 16px; }
.form-note a { color: var(--text-soft); }
.form-error { font-size: 14px; color: #ffb4a8; background: rgba(255, 99, 71, .12); border: 1px solid rgba(255, 120, 100, .35); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.note { font-size: 13px; color: var(--text-dim); margin-top: 32px; }

/* footer */
.site-footer { background: #0b0b0c; color: var(--text-dim); padding: 28px 0 36px; font-size: 12px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-footer .brand-name { display: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer a { text-decoration: none; color: var(--text-soft); }
.site-footer a:hover { color: var(--text); }

/* sub page */
.page { padding: 96px 0 140px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 48px; }
.page h2 { font-size: 21px; letter-spacing: 0; margin: 44px 0 10px; }
.page p, .page li { color: var(--text-soft); font-size: 16px; }
.page ul { list-style: disc; padding-left: 1.4em; }
.page a { color: #f3b673; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .statement p.big { color: var(--text); transition: none; }
}

@media (max-width: 820px) {
  .nav a:not(.nav-cta):not(.nav-lang) { display: none; }
  .nav { gap: 18px; }
  .hero { padding: 96px 0 130px; min-height: calc(100svh - 48px); }
  .hero-bg img { object-position: 64% center; }
  .section { padding: 96px 0; }
  .statement, .contact { padding: 110px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .values { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
  .tile { padding: 36px 28px; }
  .tile { min-height: 400px; }
  .profile > div { grid-template-columns: 1fr; gap: 2px; padding: 18px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.thanks { min-height: calc(100vh - 140px); display: flex; align-items: center; }
.thanks .wrap { width: 100%; }

/* 日本語版（/ja/） */
html:lang(ja) body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8; font-feature-settings: "palt";
}
html:lang(ja) h1 { font-size: clamp(42px, 8.4vw, 104px); line-height: 1.18; letter-spacing: -.01em; }
html:lang(ja) h2 { font-size: clamp(32px, 5.4vw, 64px); line-height: 1.25; letter-spacing: 0; }
html:lang(ja) .statement p.big { font-size: clamp(28px, 5.6vw, 68px); line-height: 1.35; letter-spacing: -.01em; }
html:lang(ja) .tile h3 { letter-spacing: 0; line-height: 1.4; }
html:lang(ja) .page h1 { font-size: clamp(30px, 4.4vw, 48px); }
html:lang(ja) .page h2 { font-size: 19px; line-height: 1.6; }
html:lang(ja) .lead, html:lang(ja) .section-lead { line-height: 1.9; }
