/* ============================================
   NEXUS — Official Site
   Luxury minimal / white × gold / thin lines
   ============================================ */

:root {
  --gold: #b08d3e;
  --gold-light: #d4b96a;
  --gold-pale: #f3ecdb;
  --ink: #1c1c1c;
  --ink-soft: #55524b;
  --white: #ffffff;
  --off-white: #fbfaf7;
  --line: rgba(176, 141, 62, 0.35);
  --line-soft: rgba(28, 28, 28, 0.08);
  --serif-en: "Cormorant Garamond", serif;
  --serif-jp: "Shippori Mincho", serif;
  --sans-jp: "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans-jp);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 820px; }

.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- Section headings ---------- */
.section-en {
  font-family: var(--serif-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 18px;
}
.section-en--light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif-jp);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 34px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-title--light { color: var(--white); }

section { padding: 140px 0; }

/* ---------- Fade-in ---------- */
.fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans-jp);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  padding: 18px 54px;
  border: 1px solid var(--gold);
  transition: all 0.45s ease;
}
.btn--outline { color: var(--gold); background: transparent; }
.btn--outline:hover { color: var(--white); background: var(--gold); }
.btn--gold {
  color: var(--white);
  background: linear-gradient(135deg, #c9a54e, #b08d3e 55%, #d4b96a);
  border: none;
  padding: 19px 55px;
}
.btn--gold:hover { opacity: 0.85; letter-spacing: 0.34em; }
.btn--white { color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--white:hover { color: var(--ink); background: var(--white); }
.btn--wide { min-width: 320px; text-align: center; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { display: flex; align-items: center; gap: 12px; }
.header__mark-img { width: 54px; }
.header__wordmark {
  font-family: var(--serif-en);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--ink);
}

.nav__list { display: flex; align-items: center; gap: 42px; }
.nav__list a {
  font-family: var(--serif-en);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.nav__list a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.nav__list a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  font-family: var(--sans-jp) !important;
  font-size: 13px !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 11px 28px !important;
  letter-spacing: 0.2em !important;
  transition: all 0.4s ease;
}
.nav__cta:hover { background: var(--gold); color: var(--white) !important; }

.nav-toggle { display: none; }

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 160px 24px 120px;
  background:
    radial-gradient(ellipse 900px 600px at 50% -10%, var(--gold-pale) 0%, rgba(243, 236, 219, 0) 60%),
    var(--white);
}
.hero__inner { animation: heroIn 1.6s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__logo-img {
  width: min(430px, 74vw);
  margin: 0 auto 26px;
}
.hero__copy {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}
.hero__sub {
  font-family: var(--serif-en);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero__line {
  width: 1px; height: 64px;
  margin: 0 auto 40px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}
.hero__lead {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 54px;
}
.hero__lead .dot { color: var(--gold); margin: 0 2px; }
.hero__cta { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold);
  display: inline-block;
  padding-bottom: 48px;
  position: relative;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 1px; height: 40px;
  background: var(--gold);
  animation: scrollLine 2.2s ease infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   Problem
   ============================================ */
.problem { background: var(--off-white); }
.problem__list {
  max-width: 880px;
  margin: 70px auto 0;
  display: grid;
  gap: 0;
}
.problem__list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  column-gap: 28px;
  padding: 44px 8px;
  border-top: 1px solid var(--line-soft);
}
.problem__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.problem__num {
  grid-row: 1 / 3;
  font-family: var(--serif-en);
  font-size: 42px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  align-self: start;
  padding-top: 6px;
  text-align: center;
}
.problem__list h3 {
  font-family: var(--serif-jp);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.problem__list p { font-size: 14.5px; color: var(--ink-soft); }
.problem__closing {
  text-align: center;
  margin-top: 72px;
  font-family: var(--serif-jp);
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 0.14em;
}
.problem__closing strong {
  font-weight: 600;
  background: linear-gradient(transparent 68%, var(--gold-pale) 68%);
  padding: 0 2px;
}

/* ============================================
   About
   ============================================ */
.about { background: var(--white); }
.about__text {
  text-align: center;
  font-size: 16px;
  line-height: 2.4;
  margin-top: 48px;
}
.about__text em {
  font-style: normal;
  color: var(--gold);
  font-weight: 400;
}
.about__text--em {
  font-family: var(--serif-jp);
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.14em;
  margin-top: 64px;
}
.about__text--em strong { font-weight: 600; }

/* ============================================
   Strength
   ============================================ */
.strength { background: var(--off-white); }
.strength__grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.strength__card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 52px 44px 46px;
  position: relative;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.strength__card:hover {
  box-shadow: 0 18px 44px rgba(176, 141, 62, 0.13);
  transform: translateY(-4px);
}
.strength__index {
  font-family: var(--serif-en);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 14px;
}
.strength__index::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 1px;
  background: var(--gold);
}
.strength__card h3 {
  font-family: var(--serif-jp);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.strength__card p { font-size: 14.5px; color: var(--ink-soft); }

/* ============================================
   Service
   ============================================ */
.service { background: var(--white); }
.service__block {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}
.service__block:first-of-type { margin-top: 40px; border-top: 1px solid var(--line-soft); }
.service__num {
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.service__head h3 {
  font-family: var(--serif-jp);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.service__body p { font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; }
.service__items { display: flex; flex-wrap: wrap; gap: 12px; }
.service__items li {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--off-white);
}

/* ============================================
   Price
   ============================================ */
.price { background: var(--off-white); }
.price__table { max-width: 860px; margin: 64px auto 0; }
.price__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 12px;
  border-top: 1px solid var(--line-soft);
}
.price__row:last-child { border-bottom: 1px solid var(--line-soft); }
.price__name h3 {
  font-family: var(--serif-jp);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.price__name p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.price__value {
  white-space: nowrap;
  font-size: 14px;
  color: var(--ink-soft);
}
.price__value span {
  font-family: var(--serif-en);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.price__note {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 36px;
}

/* ============================================
   Advisory
   ============================================ */
.advisory {
  background:
    radial-gradient(ellipse 800px 500px at 50% 0%, rgba(212, 185, 106, 0.14), transparent 65%),
    #191713;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}
.advisory__price { margin-top: 56px; }
.advisory__amount {
  font-family: var(--serif-en);
  font-size: clamp(56px, 8vw, 84px);
  font-weight: 400;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #d4b96a, #b08d3e 50%, #e5cf8e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.advisory__unit { font-size: 17px; letter-spacing: 0.14em; margin-left: 10px; }
.advisory__unit small { font-size: 12px; opacity: 0.7; }
.advisory__desc { margin-top: 28px; font-size: 15px; opacity: 0.85; }
.advisory__list {
  margin: 44px auto 0;
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.advisory__list li {
  font-size: 13.5px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(212, 185, 106, 0.5);
  padding: 9px 24px;
  border-radius: 999px;
}
.advisory__note { margin-top: 32px; font-size: 12.5px; opacity: 0.6; }
.advisory__cta { margin-top: 48px; }

/* ============================================
   Case
   ============================================ */
.case { background: var(--white); }
.case__grid {
  margin: 64px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
.case__grid li {
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 22px 8px 22px 40px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.case__grid li::before {
  content: "";
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px; height: 7px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

/* ============================================
   Profile
   ============================================ */
.profile { background: var(--off-white); }
.profile__card {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: center;
}
.profile__photo {
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo .profile__logo-img {
  width: 62%; height: auto;
  object-fit: contain;
}
.profile__title {
  font-family: var(--serif-jp);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 18px;
}
.profile__title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}
.profile__text p:not(.profile__title) { font-size: 15px; color: var(--ink-soft); }

/* ============================================
   Philosophy
   ============================================ */
.philosophy {
  background: var(--white);
  text-align: center;
}
.philosophy__body { margin-top: 24px; }
.philosophy__lead {
  font-family: var(--serif-jp);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 2.1;
  margin-bottom: 44px;
}
.philosophy__body p:not(.philosophy__lead) {
  font-size: 15.5px;
  line-height: 2.5;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

/* ============================================
   Contact
   ============================================ */
.contact { background: var(--off-white); }
.contact__lead { text-align: center; font-size: 15px; margin-top: 40px; }
.contact__form { margin-top: 64px; }
.form__row { margin-bottom: 32px; }
.form__row label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  font-family: var(--sans-jp);
  font-size: 15px;
  padding: 15px 18px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form__submit { text-align: center; margin-top: 48px; }
.form__submit button { cursor: pointer; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #191713;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 90px 0 48px;
}
.footer__mark { width: 96px; margin: 0 auto 16px; display: block; }
.footer__wordmark {
  font-family: var(--serif-en);
  font-size: 24px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__tagline {
  font-family: var(--serif-jp);
  font-size: 13px;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 44px;
}
.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 44px;
}
.footer__nav a {
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.25em;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer__nav a:hover { opacity: 1; color: var(--gold-light); }
.footer__copy { font-size: 11px; letter-spacing: 0.14em; opacity: 0.45; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .strength__grid { grid-template-columns: 1fr; gap: 24px; }
  .service__block { grid-template-columns: 1fr; gap: 20px; padding: 52px 0; }
  .case__grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  section { padding: 96px 0; }
  .container { padding: 0 24px; }

  /* Header / mobile nav */
  .header__inner { height: 68px; padding: 0 20px; }
  .header__mark-img { width: 46px; }
  .header__wordmark { font-size: 17px; }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 34px; text-align: center; }
  .nav__list a { font-size: 18px; }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    width: 44px; height: 44px;
    position: relative;
    cursor: pointer;
    z-index: 110;
  }
  .nav-toggle span {
    position: absolute;
    left: 10px;
    width: 24px; height: 1px;
    background: var(--ink);
    transition: transform 0.4s ease, top 0.4s ease;
  }
  .nav-toggle span:nth-child(1) { top: 18px; }
  .nav-toggle span:nth-child(2) { top: 26px; }
  .nav-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(30deg); }
  .nav-toggle.is-open span:nth-child(2) { top: 22px; transform: rotate(-30deg); }

  .hero { padding: 130px 20px 110px; }
  .hero__cta { flex-direction: column; align-items: center; }
  .btn { padding: 16px 0; width: 260px; text-align: center; }
  .btn--gold { padding: 17px 0; }

  .problem__list li {
    grid-template-columns: 1fr;
    row-gap: 6px;
    padding: 36px 4px;
  }
  .problem__num { grid-row: auto; text-align: left; font-size: 32px; margin-bottom: 6px; }

  .strength__card { padding: 40px 28px 36px; }

  .price__row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 4px; }
  .price__value { align-self: flex-end; }

  .profile__card {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    justify-items: center;
  }
  .profile__photo { width: 190px; height: 190px; }
  .profile__title { padding-bottom: 16px; }
  .profile__title::after { left: 50%; transform: translateX(-50%); }

  .btn--wide { min-width: 260px; }
}
