
:root{
  --black:#0b0b0d;--white:#fff;--gray:#f4f4f2;--line:#dededb;
  --text:#171719;--muted:#666;--gold:#b99a62;--max:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",sans-serif;color:var(--text);line-height:1.8;background:#fff}
a{text-decoration:none;color:inherit}
img{display:block;width:100%;object-fit:cover}
.container{width:min(92%,var(--max));margin:auto}

/* Header */
header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid #eee}
.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.logo{font-size:24px;font-weight:900;letter-spacing:.12em}
nav{display:flex;align-items:center;gap:21px}
nav a{font-size:12px;font-weight:800}
.nav-cta{background:var(--black);color:#fff;padding:10px 17px;border-radius:4px}
.mobile-cta{display:none}

/* Brand switch */
.brand-switch{background:#111;color:#fff}
.brand-switch .inner{display:flex;justify-content:center;gap:0}
.brand-switch a{font-size:12px;font-weight:800;padding:10px 25px;color:#aaa}
.brand-switch a.active{color:#fff;background:#242426}

/* Hero */
.hero{min-height:640px;display:grid;grid-template-columns:1fr 1fr;background:var(--black);color:#fff}
.hero-copy{display:flex;align-items:center;padding:70px 7%}
.hero-copy>div{max-width:580px;margin-left:auto}
.eyebrow{font-size:11px;letter-spacing:.2em;font-weight:900;color:#bbb;margin-bottom:20px}
.hero h1{font-size:clamp(40px,5.3vw,70px);line-height:1.16;letter-spacing:-.035em;margin-bottom:25px}
.hero p{font-size:16px;color:#c9c9c9;max-width:560px;margin-bottom:34px}
.hero-image{min-height:640px;background:center/cover no-repeat #29292d}
.buttons{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:51px;padding:0 24px;border:1px solid #fff;border-radius:4px;font-weight:900;font-size:13px}
.btn.primary{background:#fff;color:#111}

/* Common */
.section{padding:96px 0}
.head{margin-bottom:44px}
.label{font-size:11px;letter-spacing:.2em;font-weight:900;color:#777}
.title{font-size:clamp(30px,4vw,46px);line-height:1.25;margin:7px 0 14px;letter-spacing:-.025em}
.lead{max-width:750px;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{border:1px solid var(--line);padding:28px 22px;min-height:225px}
.num{font-size:11px;color:#999;font-weight:900}
.card h3{font-size:19px;margin:25px 0 9px}
.card p{font-size:13px;color:var(--muted)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.split-image{min-height:440px;background:center/cover no-repeat #ddd}
.list{list-style:none;margin-top:25px}
.list li{padding:13px 0;border-bottom:1px solid var(--line);font-weight:750}
.list li:before{content:"✓";margin-right:12px}
.works{background:var(--gray)}
.workgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.work{background:#fff}
.work img{aspect-ratio:4/3;background:#ddd}
.work-body{padding:18px 20px}
.work-body small{font-size:10px;color:#777;font-weight:900;letter-spacing:.08em}
.work-body h3{font-size:18px;margin-top:4px}
.flow{display:grid;grid-template-columns:repeat(5,1fr)}
.step{padding:22px 16px;border-top:2px solid #111}
.step small{font-size:10px;color:#777;font-weight:900}
.step h3{font-size:16px;margin:12px 0 5px}
.step p{font-size:12px;color:var(--muted)}
.faq{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.faq details{border:1px solid var(--line);padding:17px 20px}
.faq summary{cursor:pointer;font-weight:800}
.faq p{font-size:13px;color:var(--muted);padding-top:12px}
.company{background:#fafafa}
.company-table{width:100%;border-collapse:collapse;background:#fff}
.company-table th,.company-table td{text-align:left;padding:18px 20px;border-bottom:1px solid var(--line);font-size:14px}
.company-table th{width:180px;background:#f2f2ef;font-weight:900}
.cta{background:var(--black);color:#fff;text-align:center}
.cta .label{color:#999}.cta .lead{color:#bbb;margin:0 auto 28px}
.cta .btn{border-color:#fff}
footer{background:#070708;color:#fff;padding:45px 0 20px}
.foot{display:flex;justify-content:space-between;gap:30px;padding-bottom:28px;border-bottom:1px solid #303034}
.footnav{display:flex;gap:22px;flex-wrap:wrap;color:#aaa;font-size:12px}
.copy{font-size:10px;color:#777;padding-top:18px}

/* Night */
.night .brand-switch a.active{background:#3a3020}
.night .hero{background:#090909}
.night .eyebrow{color:var(--gold)}
.night .hero h1{letter-spacing:-.045em}
.night .accent{color:var(--gold)}
.night .card{background:#0d0d0e;color:#fff;border-color:#333}
.night .card p{color:#aaa}
.night .num{color:var(--gold)}
.night .works{background:#101011;color:#fff}
.night .work{background:#19191a}
.night .work-body small{color:var(--gold)}
.night .flow .step{border-color:var(--gold)}
.night .company{background:#111;color:#fff}
.night .company-table{background:#19191a}
.night .company-table th{background:#242426}
.night .company-table th,.night .company-table td{border-color:#333}

/* Responsive */
@media(max-width:900px){
  nav{display:none}.mobile-cta{display:block}
  .hero{grid-template-columns:1fr}.hero-copy{min-height:510px}.hero-image{min-height:330px}
  .cards{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr;gap:38px}
  .workgrid{grid-template-columns:repeat(2,1fr)}.flow{grid-template-columns:1fr}
  .step{border-top:1px solid var(--line)}
}
@media(max-width:600px){
  .header-inner{height:64px}.logo{font-size:20px}.mobile-cta{font-size:11px;padding:8px 11px}
  .brand-switch a{padding:9px 10px;font-size:10px}
  .section{padding:70px 0}.cards,.workgrid,.faq{grid-template-columns:1fr}
  .split-image{min-height:280px}.hero-copy{padding:55px 5%;min-height:480px}
  .hero-image{min-height:270px}.hero h1{font-size:40px}
  .company-table th{width:100px}.company-table th,.company-table td{padding:14px 12px;font-size:12px}
  .foot{flex-direction:column}
}


/* ===== Mobile image display fix ===== */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-image,
.split-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 420px;
}

.work img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .hero {
    display: block;
  }

  .hero-image {
    width: 100%;
    min-height: 280px;
    margin-top: 24px;
  }

  .split {
    display: block;
  }

  .split-image {
    width: 100%;
    min-height: 240px;
    margin-bottom: 24px;
  }

  .workgrid {
    grid-template-columns: 1fr !important;
  }

  .work img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}


/* ===== WORKS: show the entire image without cropping ===== */
.work img,
.work-card img,
.workgrid img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

@media (max-width: 768px) {
  .work img,
  .work-card img,
  .workgrid img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}


/* ===== FAQ redesign ===== */
.faq{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  max-width:900px;
}
.faq details{
  border:1px solid #d9d9d6;
  background:#fff;
  padding:0;
  border-radius:8px;
  overflow:hidden;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.faq details[open]{
  border-color:#111;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.faq summary{
  position:relative;
  list-style:none;
  cursor:pointer;
  padding:20px 56px 20px 58px;
  font-size:16px;
  line-height:1.6;
  font-weight:900;
  letter-spacing:.01em;
}
.faq summary::-webkit-details-marker{
  display:none;
}
.faq summary::before{
  content:"Q";
  position:absolute;
  left:20px;
  top:17px;
  font-size:20px;
  line-height:1;
  font-weight:900;
  color:#111;
}
.faq summary::after{
  content:"+";
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  font-size:24px;
  font-weight:400;
  color:#777;
}
.faq details[open] summary::after{
  content:"−";
}
.faq p{
  position:relative;
  margin:0;
  padding:18px 24px 20px 58px;
  border-top:1px solid #ececea;
  background:#fafafa;
  font-size:14px;
  line-height:1.9;
  color:#555;
  font-weight:500;
}
.faq p::before{
  content:"A";
  position:absolute;
  left:20px;
  top:18px;
  font-size:18px;
  line-height:1;
  font-weight:900;
  color:#888;
}

/* ===== Company redesign ===== */
.company{
  background:#f5f5f3;
}
.company .head{
  margin-bottom:32px;
}
.company-table{
  width:100%;
  max-width:980px;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid #d7d7d3;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 14px 36px rgba(0,0,0,.06);
}
.company-table th,
.company-table td{
  text-align:left;
  padding:20px 24px;
  border-bottom:1px solid #ececea;
  font-size:14px;
  vertical-align:top;
}
.company-table tr:last-child th,
.company-table tr:last-child td{
  border-bottom:none;
}
.company-table th{
  width:190px;
  background:#111;
  color:#fff;
  font-weight:900;
  letter-spacing:.04em;
}
.company-table td{
  background:#fff;
  color:#333;
  font-weight:550;
}
.company-table tr:hover td{
  background:#fafafa;
}

/* Night-mode FAQ + company */
.night .faq details{
  background:#171718;
  border-color:#333;
}
.night .faq details[open]{
  border-color:#b99a62;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.night .faq summary{
  color:#fff;
}
.night .faq summary::before{
  color:#b99a62;
}
.night .faq summary::after{
  color:#b99a62;
}
.night .faq p{
  background:#111;
  border-top-color:#2c2c2f;
  color:#c7c7c7;
}
.night .faq p::before{
  color:#b99a62;
}

.night .company{
  background:#0d0d0e;
}
.night .company-table{
  background:#171718;
  border-color:#383838;
  box-shadow:0 14px 40px rgba(0,0,0,.28);
}
.night .company-table th{
  background:#b99a62;
  color:#111;
}
.night .company-table td{
  background:#171718;
  color:#efefef;
}
.night .company-table tr:hover td{
  background:#1f1f21;
}
.night .company-table th,
.night .company-table td{
  border-bottom-color:#333;
}

@media(max-width:600px){
  .faq summary{
    padding:18px 48px 18px 50px;
    font-size:15px;
  }
  .faq summary::before{
    left:17px;
    top:17px;
    font-size:18px;
  }
  .faq summary::after{
    right:16px;
  }
  .faq p{
    padding:16px 18px 18px 50px;
    font-size:13px;
  }
  .faq p::before{
    left:17px;
    top:17px;
    font-size:16px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td{
    display:block;
    width:100%;
  }
  .company-table{
    border-radius:10px;
  }
  .company-table tr{
    border-bottom:1px solid #ececea;
  }
  .company-table tr:last-child{
    border-bottom:none;
  }
  .company-table th{
    padding:11px 16px 7px;
    border-bottom:none;
    background:#fff;
    color:#111;
    font-size:11px;
    letter-spacing:.08em;
  }
  .company-table td{
    padding:0 16px 15px;
    border-bottom:none;
    font-size:13px;
    line-height:1.7;
  }

  .night .company-table tr{
    border-bottom-color:#333;
  }
  .night .company-table th{
    background:#171718;
    color:#b99a62;
  }
}
