:root {
  --color-white: #ffffff;

  --color-bg: #f5f5f3;
  --color-bg-soft: #f1f1ef;

  --color-black: #111111;
  --color-text: #1a1a1a;
  --color-muted: #555555;

  --color-red: #ef3f57;
  --color-red-deep: #d92f47;

  --color-border: #e7e7e2;

  --font-ja:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;

  --shadow-soft:
    0 18px 45px rgba(17, 17, 17, 0.08);

  --radius-lg: 34px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: var(--font-ja);

  color: var(--color-text);
  background: var(--color-white);

  line-height: 1.9;

  font-weight: 600;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;

  z-index: 100;

  background:
    rgba(255,255,255,0.94);

  backdrop-filter: blur(14px);

  border-bottom:
    1px solid rgba(231,231,226,0.9);
}

.header-inner {
  width:
    min(1120px, calc(100% - 40px));

  height: 76px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  font-weight: 900;

  color: var(--color-black);
}

.brand-mark {
  width: 38px;
  height: 38px;

  border-radius: 999px;

  display: grid;
  place-items: center;

  background: var(--color-black);

  color: var(--color-white);

  font-size: 14px;
  letter-spacing: 0.04em;
}

.brand-text {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 34px;

  font-size: 14px;
  font-weight: 900;
}

.global-nav a {
  position: relative;
}

.global-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 3px;

  background: var(--color-red);

  transition: width .25s ease;
}

.global-nav a:hover::after {
  width: 100%;
}

/* =========================================================
HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;

  background-image:
    url("../images/hero.jpg");

  background-size: cover;
  background-position: center right;

  opacity: 0.95;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.96) 34%,
      rgba(255,255,255,0.76) 52%,
      rgba(255,255,255,0.16) 74%,
      rgba(255,255,255,0.02) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;

  width:
    min(1120px, calc(100% - 40px));

  margin: 0 auto;

  padding:
    140px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;

  color: var(--color-red);

  font-size: 14px;
  font-weight: 900;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;

  margin: 0;

  color: var(--color-black);

  font-size:
    clamp(68px, 7vw, 118px);

  line-height: 1.02;

  letter-spacing: -0.06em;

  font-weight: 900;
}

.hero h1 span {
  color: var(--color-red);
}

.hero-lead {
  max-width: 720px;

  margin-top: 36px;

  color: #2d2d2d;

  font-size:
    clamp(18px, 1.5vw, 23px);

  line-height: 2;

  font-weight: 800;
}

.hero-actions {
  margin-top: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;

  padding: 0 28px;

  border-radius: 999px;

  font-size: 15px;
  font-weight: 900;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.btn:hover {
  transform:
    translateY(-2px);
}

.btn-primary {
  color: var(--color-white);

  background: var(--color-red);

  box-shadow:
    0 14px 28px rgba(239,63,87,0.22);
}

.btn-primary:hover {
  background:
    var(--color-red-deep);
}

/* =========================================================
COMMON
========================================================= */

.section {
  padding: 140px 0;
}

.container {
  width:
    min(1120px, calc(100% - 40px));

  margin: 0 auto;
}

.container.narrow {
  width:
    min(900px, calc(100% - 40px));
}

.section-heading {
  max-width: 860px;

  margin-bottom: 56px;
}

.section-heading h2 {
  margin: 0;

  color: var(--color-black);

  font-size:
    clamp(42px, 4vw, 64px);

  line-height: 1.3;

  letter-spacing: -0.05em;

  font-weight: 900;
}

.section-heading p {
  margin-top: 24px;
}

/* =========================================================
LEAD
========================================================= */

.lead-section {
  background: var(--color-white);
}

.lead-copy {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.lead-copy p {
  margin: 0;

  color: var(--color-black);

  font-size:
    clamp(28px, 3vw, 48px);

  line-height: 1.6;

  letter-spacing: -0.04em;

  font-weight: 900;
}

/* =========================================================
PHILOSOPHY
========================================================= */

.philosophy-section {
  background: var(--color-bg);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 26px;
}

.philosophy-card {
  padding: 42px 34px;

  border-radius: var(--radius-lg);

  background: var(--color-white);

  border:
    1px solid var(--color-border);
}

.card-number {
  display: inline-flex;

  margin-bottom: 22px;

  color: var(--color-red);

  font-size: 14px;
  font-weight: 900;

  letter-spacing: 0.16em;
}

.philosophy-card h3 {
  margin: 0;

  font-size: 28px;
  line-height: 1.4;

  font-weight: 900;

  letter-spacing: -0.03em;
}

.philosophy-card p {
  margin-top: 22px;

  color: var(--color-muted);

  font-size: 17px;

  line-height: 2;
}

/* =========================================================
PROJECTS
========================================================= */

.projects-section {
  background: var(--color-white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 26px;
}

.project-card {
  position: relative;

  padding: 42px 36px;

  border-radius: var(--radius-lg);

  background:
    var(--color-bg-soft);

  border:
    1px solid var(--color-border);

  transition:
    transform .2s ease,
    border-color .2s ease;
}

.project-card:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(239,63,87,0.25);
}

.project-main {
  background:
    linear-gradient(
      135deg,
      rgba(239,63,87,0.06),
      rgba(255,255,255,1)
    );
}

.project-label {
  display: inline-flex;

  margin-bottom: 18px;

  color: var(--color-red);

  font-size: 13px;
  font-weight: 900;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;

  color: var(--color-black);

  font-size: 32px;

  line-height: 1.35;

  letter-spacing: -0.04em;

  font-weight: 900;
}

.project-card p {
  margin-top: 22px;

  color: var(--color-muted);

  font-size: 17px;

  line-height: 2;
}

.project-link {
  display: inline-flex;

  margin-top: 30px;

  color: var(--color-black);

  font-size: 15px;
  font-weight: 900;

  border-bottom:
    3px solid var(--color-red);
}

/* =========================================================
APPROACH
========================================================= */

.approach-section {
  background: var(--color-bg);
}

.approach-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  gap: 56px;

  padding: 68px;

  border-radius: 38px;

  background:
    var(--color-white);

  border:
    1px solid var(--color-border);
}

.approach-box h2 {
  margin: 0;

  font-size:
    clamp(40px, 4vw, 60px);

  line-height: 1.3;

  letter-spacing: -0.05em;

  font-weight: 900;
}

.approach-text p {
  margin: 0;

  color: var(--color-muted);

  font-size: 18px;

  line-height: 2;
}

.approach-text p + p {
  margin-top: 22px;
}

/* =========================================================
FOOTER
========================================================= */

.site-footer {
  background: var(--color-black);

  color: var(--color-white);

  padding: 80px 0;
}

.footer-inner {
  width:
    min(1120px, calc(100% - 40px));

  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: inline-flex;

  color: var(--color-white);

  font-size: 20px;
  font-weight: 900;
}

.site-footer p {
  margin-top: 14px;

  color:
    rgba(255,255,255,0.74);

  font-size: 15px;

  line-height: 1.9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  align-content: flex-start;

  font-size: 14px;
  font-weight: 700;

  color:
    rgba(255,255,255,0.78);
}

.footer-nav a:hover {
  color:
    var(--color-white);
}

/* =========================================================
MOBILE
========================================================= */

.nav-toggle {
  display: none;
}

.pc-only {
  display: inline;
}

@media (max-width: 900px) {

  .section {
    padding: 100px 0;
  }

  .hero {
    min-height: 820px;
  }

  .hero h1 {
    font-size:
      clamp(52px, 10vw, 82px);
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,0.99) 0%,
        rgba(255,255,255,0.97) 48%,
        rgba(255,255,255,0.76) 70%,
        rgba(255,255,255,0.22) 100%
      );
  }

  .philosophy-grid,
  .project-grid,
  .approach-box {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 680px) {

  .header-inner,
  .container,
  .container.narrow,
  .footer-inner,
  .hero-inner {
    width:
      min(100% - 28px, 1120px);
  }

  .global-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;

    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 0;

    cursor: pointer;
  }

  .nav-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 0 auto;

    background: var(--color-black);
  }

  .hero {
    min-height: 760px;
  }

  .hero-bg {
    background-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,0.99) 0%,
        rgba(255,255,255,0.97) 66%,
        rgba(255,255,255,0.82) 100%
      );
  }

  .hero-inner {
    padding:
      100px 0 80px;
  }

  .hero h1 {
    font-size:
      clamp(44px, 13vw, 60px);

    line-height: 1.12;
  }

  .hero-lead {
    font-size: 18px;
    line-height: 1.9;
  }

  .lead-copy p {
    font-size:
      clamp(24px, 7vw, 38px);
  }

  .section-heading h2,
  .approach-box h2 {
    font-size:
      clamp(34px, 8vw, 48px);
  }

  .philosophy-card,
  .project-card,
  .approach-box {
    padding: 34px 24px;
  }

  .project-card h3 {
    font-size: 28px;
  }

  .pc-only {
    display: none;
  }
}


@media (max-width: 680px) {
  .global-nav {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;

    display: none;
    flex-direction: column;
    gap: 0;

    padding: 14px;

    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 14px 16px;
  }

  .global-nav a::after {
    display: none;
  }
}


.hero-inner,
.section {
  opacity: 0;

  transform:
    translateY(26px);

  transition:
    opacity .9s ease,
    transform .9s ease;
}

.hero-inner.is-visible,
.section.is-visible {
  opacity: 1;

  transform:
    translateY(0);
}

.hero-bg {
  transition:
    transform .08s linear;
}


/* =========================
   Footer
========================= */

.site-footer {
  background: #111;
  color: #ddd;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner{
  width:min(1200px,92%);
  margin:auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:60px;
}

.footer-brand{
  display:inline-block;
  font-size:1.8rem;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  margin-bottom:18px;
}

.footer-description{
  color:#9ca3af;
  line-height:1.8;
  margin-bottom:40px;
}

/* =========================
   Network
========================= */

.footer-network-title{
  margin-bottom:24px;
  color:#7d90b9;
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.footer-network-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.footer-network-card{
  display:flex;
  align-items:flex-start;
  gap:18px;

  padding:26px;

  background:#1d1d1d;
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;

  color:inherit;
  text-decoration:none;

  transition:.25s;
}

.footer-network-card:hover{
  transform:translateY(-4px);
  border-color:#5d83d7;
  background:#232323;
}

.footer-network-icon{
  font-size:1.35rem;
  margin-top:4px;
}

.footer-network-card strong{
  display:block;
  color:#fff;
  font-size:1.45rem;
  line-height:1.4;
}

.footer-network-card small{
  display:block;
  margin-top:10px;
  color:#9ca3af;
  font-size:1.05rem;
  line-height:1.6;
}

/* =========================
   Navigation
========================= */

.footer-column h3{
  color:#fff;
  margin-bottom:20px;
  font-size:1.1rem;
}

.footer-nav{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-nav a{
  color:#9ca3af;
  text-decoration:none;
  transition:.2s;
}

.footer-nav a:hover{
  color:#fff;
}

/* =========================
   Bottom
========================= */

.footer-bottom{
  width:min(1200px,92%);
  margin:60px auto 0;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.08);

  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;

  color:#888;
  font-size:.9rem;
}

.footer-bottom-nav{
  display:flex;
  gap:20px;
}

.footer-bottom-nav a{
  color:#888;
  text-decoration:none;
}

.footer-bottom-nav a:hover{
  color:#fff;
}

/* =========================
   Responsive
========================= */

@media (max-width:900px){

  .footer-inner{
    grid-template-columns:1fr;
    gap:50px;
  }

  .footer-network-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }

}