:root {
  --navy: #1c2f4a;
  --navy-dark: #16233a;
  --navy-darker: #101a2c;
  --text-dark: #2c2f36;
  --text-body: #4a4f58;
  --text-light: #7a7f88;
  --line: #e3e5e9;
  --bg-soft: #f7f8fa;
  --font-serif: "Shippori Mincho", "Cormorant Garamond", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  line-height: 1.9;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.logo-mark {
  font-size: 1.4rem;
  color: var(--navy);
}

.logo-white {
  font-style: italic;
  font-weight: 500;
}

.main-nav ul {
  display: flex;
  gap: 42px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--text-dark);
  padding-bottom: 22px;
  border-bottom: 2px solid transparent;
}

.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.main-nav a:hover {
  color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-main.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.9;
  max-width: 460px;
}

/* ---------- Lead statement ---------- */
.lead-statement {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 40px 90px;
  text-align: center;
}

.lead-statement p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 28px;
}

.lead-statement p:last-child {
  margin-bottom: 0;
}

/* ---------- What We Do ---------- */
.what-we-do {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.what-we-do h2 {
  font-family: var(--font-serif);
  text-align: center;
  font-size: 2rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 44px;
}

.wwd-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.wwd-card {
  border: 1px solid var(--line);
  padding: 28px 30px;
  background: #fff;
}

.wwd-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-light);
  font-weight: 600;
}

.wwd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 14px;
}

.wwd-row h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 700;
}

.wwd-icon {
  color: var(--navy);
  opacity: 0.85;
  flex-shrink: 0;
}

.wwd-icon svg {
  width: 40px;
  height: 40px;
}

.wwd-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.85;
}

.foundation-banner {
  background: linear-gradient(120deg, var(--navy-darker), var(--navy) 55%, #24405f);
  color: #fff;
  text-align: center;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.foundation-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

.foundation-sub {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: #c7d3e4;
  margin-bottom: 14px;
}

.foundation-banner h3 {
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.foundation-banner h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: #7d93b3;
}

.foundation-desc {
  position: relative;
  font-size: 0.85rem;
  color: #d3dbe8;
  line-height: 1.9;
}

/* ---------- Works ---------- */
.works {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px 110px;
  text-align: center;
}

.works h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 600;
}

.works-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: left;
}

.work-card {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.work-media {
  height: 180px;
  position: relative;
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.15), transparent 60%);
}

.work-media--coaching {
  background-image: url("images/work-coaching.png");
  background-size: cover;
  background-position: center;
}

.work-media--journaling {
  background-image: url("images/work-journaling.png");
  background-size: cover;
  background-position: center;
}

.work-media--tiktok {
  background-image: url("images/work-tiktok.png");
  background-size: cover;
  background-position: center;
}

.work-tag {
  display: inline-block;
  margin: 20px 24px 0;
  padding: 4px 12px;
  border: 1px solid var(--line);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-body);
  font-weight: 600;
}

.work-card h3 {
  margin: 14px 24px 10px;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 700;
}

.work-card p {
  margin: 0 24px 24px;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- CTA section ---------- */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.cta-media {
  position: relative;
  background-image: url("images/cta-building.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 70px;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 22px;
  position: relative;
}

.cta-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--navy);
}

.cta-jp-title {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 30px;
  max-width: 420px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-darker);
  color: #cdd6e3;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}

.footer-address {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #cdd6e3;
}

.footer-cols {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #8fa0ba;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.82rem;
  color: #cdd6e3;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: #9aa8bd;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #8fa0ba;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-inner {
    padding: 16px 20px;
    position: relative;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open {
    max-height: 320px;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
  }
  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: none;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 0;
    aspect-ratio: 941 / 1672;
  }
  .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-image: url("images/hero-main-sp.png");
  }
  .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.65) 35%, rgba(255,255,255,0.2) 55%, transparent 72%);
  }
  .hero-content {
    position: relative;
    padding: 32px 20px 0;
    background: none;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-tagline {
    font-size: 1.05rem;
  }
  .hero-br {
    display: none;
  }
  .hero-desc {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.85;
  }
  .wwd-cards,
  .works-grid {
    grid-template-columns: 1fr;
  }
  .cta-section {
    grid-template-columns: 1fr;
  }
  .cta-media {
    height: 280px;
  }
  .cta-content {
    padding: 40px 24px;
  }
  .lead-statement,
  .what-we-do,
  .works {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-top {
    flex-direction: column;
  }
}
