:root {
      --bg: #fbfafc;
      --bg-soft: #f6f2f8;
      --bg-lavender: #f1ebf6;
      --text: #27222d;
      --muted: #6f6877;
      --purple: #73548d;
      --purple-deep: #4f3d61;
      --purple-pale: #d9cde5;
      --gold: #b99b6b;
      --line: rgba(80, 61, 98, 0.14);
      --white: #ffffff;
      --max: 1240px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 85% 10%, rgba(222,211,235,.45), transparent 28%),
        linear-gradient(180deg, #fcfbfd 0%, #faf8fb 100%);
      font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
      letter-spacing: .02em;
      line-height: 1.9;
    }


    h1, h2, h3 {
      font-weight: 300;
    }

    h2, h3 {
      letter-spacing: .045em;
    }

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

.hero-image {
  display: block;
  width: min(100%, 600px);
  aspect-ratio: 3 / 2;
  margin: 30px auto 0;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hero-image {
    width: 100%;
    max-height: 260px;
    margin-top: 20px;
  }
}

    .container {
      width: min(calc(100% - 48px), var(--max));
      margin: 0 auto;
    }

    .eyebrow {
      margin: 0 0 18px;
      color: var(--purple);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .24em;
      text-transform: uppercase;
    }

    .section-title {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-weight: 300;
      font-size: clamp(34px, 4vw, 62px);
      line-height: 1.18;
      letter-spacing: .045em;
    }

    .jp-title {
      margin-top: 12px;
      font-size: 13px;
      color: var(--muted);
      letter-spacing: .08em;
    }

    .lead {
      color: var(--muted);
      font-size: 15px;
      line-height: 2.15;
    }

    header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 50;
      backdrop-filter: blur(16px);
      background: rgba(251,250,252,.78);
      border-bottom: 1px solid rgba(79,61,97,.08);
    }

    .nav {
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav h1 {
      width: min(20vw, 520px);
      mix-blend-mode: multiply;
      opacity: .84;
      filter: saturate(.85) contrast(.94);
      border-radius: 28px;
      box-shadow: 0 45px 120px rgba(89,63,105,.08);
    }
    
    .brand {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 30px;
      color: var(--purple-deep);
      letter-spacing: .02em;
    }

    .navlinks {
      display: flex;
      gap: 34px;
      font-size: 11px;
      letter-spacing: .14em;
      color: #5b5261;
    }

    .menu-toggle,
    .mobile-nav { display: none; }

    .hero {
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding: 150px 0 90px;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.02fr .98fr;
      gap: 76px;
      align-items: center;
    }

    .hero-copy h1 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(54px, 8vw, 108px);
      font-weight: 300;
      line-height: .95;
      letter-spacing: .035em;
      color: var(--purple-deep);
    }

    .hero-copy .tagline {
      margin: 38px 0 0;
      max-width: 620px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: clamp(21px, 2.4vw, 34px);
      line-height: 1.75;
      font-weight: 400;
      letter-spacing: .05em;
    }

    .hero-copy .sub {
      margin-top: 26px;
      color: var(--purple);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 14px;
      line-height: 1.8;
      letter-spacing: .04em;
    }

    .hero-art {
      position: relative;
      min-height: 620px;
      display: grid;
      place-items: center;
    }

    .halo {
      position: absolute;
      width: min(42vw, 560px);
      aspect-ratio: 1;
      border: 1px solid rgba(185,155,107,.42);
      border-radius: 50%;
    }

    .halo::before {
      content: "";
      position: absolute;
      inset: 26px;
      border: 1px solid rgba(115,84,141,.24);
      border-radius: 50%;
    }

    .hero-logo {
      width: min(40vw, 520px);
      mix-blend-mode: multiply;
      opacity: .84;
      filter: saturate(.85) contrast(.94);
      border-radius: 28px;
      box-shadow: 0 45px 120px rgba(89,63,105,.08);
    }

    .hero-logo-wrap {
      margin: 0;
      overflow: hidden;
    }

    .hero-logo--animated {
      clip-path: inset(0 100% 0 0);
      opacity: 0;
      filter: saturate(.8) contrast(.9);
      transform: translateY(8px) scale(.985);
      animation: logo-handwriting .5s ease-out 0s forwards;
      will-change: clip-path, opacity, filter, transform;
    }

    @keyframes logo-handwriting {
      0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
      }
      20% { opacity: .42; }
      72% {
        clip-path: inset(0 0 0 0);
        opacity: .78;
        filter: saturate(.84) contrast(.92);
      }
      100% {
        clip-path: inset(0 0 0 0);
        opacity: .84;
        filter: saturate(.85) contrast(.94);
        transform: translateY(0) scale(1);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-logo--animated {
        clip-path: none;
        opacity: .84;
        filter: saturate(.85) contrast(.94);
        transform: none;
        animation: none;
      }
    }

    .scroll-note {
      position: absolute;
      left: 50%;
      bottom: 26px;
      transform: translateX(-50%);
      font-size: 9px;
      letter-spacing: .2em;
      color: #8b8090;
    }

    section {
      padding: 150px 0;
      border-top: 1px solid var(--line);
    }

    .about-grid {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 120px;
      align-items: start;
    }

    .about-copy {
      max-width: 520px;
    }

    .about-copy .lead {
      margin-top: 32px;
    }

    .pillars {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      padding-top: 26px;
    }

    .pillar {
      padding: 34px 26px 38px;
      border-top: 1px solid var(--line);
      min-height: 255px;
    }

    .pillar .num {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 13px;
      color: var(--gold);
    }

    .pillar h3 {
      margin: 58px 0 12px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 28px;
      font-weight: 400;
      color: var(--purple-deep);
    }

    .pillar p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .message {
      background: linear-gradient(135deg, #f8f5fa 0%, #fbfafc 100%);
    }

    .message-grid {
      display: grid;
      grid-template-columns: .96fr 1.04fr;
      gap: 90px;
      align-items: center;
    }

.portrait {
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

    .portrait::after {
      content: "PORTRAIT";
      position: absolute;
      inset: auto 0 42px 0;
      text-align: center;
      font-size: 10px;
      letter-spacing: .22em;
      color: rgba(79,61,97,.45);
    }


@media (max-width: 640px) {
  .portrait {
    min-height: 440px;
    background-position: center top;
  }
}
    .message-copy {
      max-width: 540px;
    }

    .message-copy .quote {
      margin: 30px 0;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: clamp(26px, 3vw, 40px);
      line-height: 1.65;
      letter-spacing: .05em;
    }

    .signature {
      margin-top: 34px;
      color: var(--muted);
      font-size: 13px;
      line-height: 2;
    }

    .business-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 40px;
      margin-bottom: 72px;
    }

    .business-head .lead {
      max-width: 520px;
      margin: 0;
    }

    .business-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .business-card {
      min-height: 460px;
      padding: 38px 34px 34px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.5);
      display: flex;
      flex-direction: column;
      transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    }

    .business-card:hover {
      transform: translateY(-6px);
      background: rgba(255,255,255,.85);
      box-shadow: 0 28px 70px rgba(60,43,73,.08);
    }

    .business-card .index {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 54px;
      color: #d8cce1;
      line-height: 1;
    }

    .business-card .en {
      margin-top: 80px;
      font-size: 11px;
      letter-spacing: .16em;
      color: var(--gold);
      text-transform: uppercase;
    }

    .business-card h3 {
      margin: 12px 0 18px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: 24px;
      line-height: 1.65;
      font-weight: 300;
      letter-spacing: .055em;
    }

    .business-card p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .business-card .more {
      margin-top: auto;
      padding-top: 34px;
      font-size: 11px;
      letter-spacing: .12em;
      color: var(--purple);
    }

    .scope {
      background: #f8f6f9;
    }

    .scope-grid {
      display: grid;
      grid-template-columns: .7fr 1.3fr;
      gap: 100px;
      align-items: start;
    }

    .scope-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 42px;
      counter-reset: item;
    }

    .scope-item {
      padding: 20px 0;
      border-bottom: 1px solid var(--line);
      font-size: 12px;
      color: #5f5865;
      line-height: 1.8;
    }

    .scope-item strong {
      display: block;
      margin-bottom: 5px;
      color: var(--purple-deep);
      font-size: 11px;
      letter-spacing: .08em;
    }

    .philosophy-grid {
      display: grid;
      grid-template-columns: .68fr 1.32fr;
      gap: 120px;
    }

    .values {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 22px;
    }

    .value {
      padding: 10px 26px 30px;
      border-left: 1px solid var(--line);
    }

    .value span {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 13px;
      color: var(--gold);
    }

    .value h3 {
      margin: 90px 0 14px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 28px;
      font-weight: 400;
      color: var(--purple-deep);
    }

    .value p {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
    }

    .session {
      padding: 0;
      background: linear-gradient(135deg, #eee6f3, #f8f5fa);
    }

    .session-wrap {
      min-height: 600px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }

    .session-copy {
      padding: 110px 90px 110px 0;
    }

    .session-panel {
      min-height: 600px;
      display: grid;
      place-items: center;
      border-left: 1px solid rgba(79,61,97,.12);
      background:
        radial-gradient(circle at 70% 40%, rgba(255,255,255,.8), transparent 33%),
        linear-gradient(160deg, #d7c8e1, #f8f4fa 55%, #e5dbe9);
    }

    .session-box {
      width: min(72%, 430px);
      padding: 46px;
      background: rgba(255,255,255,.74);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,.65);
      box-shadow: 0 26px 80px rgba(72,51,89,.08);
    }

    .session-box h3 {
      margin: 0 0 16px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 34px;
      font-weight: 400;
    }

    .session-box p {
      margin: 0 0 28px;
      color: var(--muted);
      font-size: 13px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      min-width: 220px;
      padding: 15px 20px;
      border: 1px solid rgba(79,61,97,.28);
      color: var(--purple-deep);
      font-size: 11px;
      letter-spacing: .12em;
      background: rgba(255,255,255,.42);
    }

    .company-grid {
      display: grid;
      grid-template-columns: .65fr 1.35fr;
      gap: 100px;
    }

    .company-table {
      border-top: 1px solid var(--line);
    }

    .row {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 30px;
      padding: 20px 0;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
    }

    .row dt {
      color: var(--muted);
    }

    .row dd {
      margin: 0;
    }

    .contact {
      padding-bottom: 120px;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: .72fr 1.28fr;
      gap: 110px;
      align-items: start;
    }

    form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .full { grid-column: 1 / -1; }

    input, select, textarea {
      width: 100%;
      border: 0;
      border-bottom: 1px solid rgba(79,61,97,.24);
      background: transparent;
      padding: 16px 2px;
      font: inherit;
      font-size: 13px;
      color: var(--text);
      outline: none;
    }

    textarea {
      min-height: 130px;
      resize: vertical;
    }

    .submit {
      margin-top: 14px;
      border: 0;
      background: var(--purple-deep);
      color: #fff;
      padding: 17px 24px;
      font-size: 11px;
      letter-spacing: .16em;
      cursor: pointer;
    }

    footer {
      padding: 68px 0 34px;
      background: #4d3a5d;
      color: rgba(255,255,255,.86);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr .8fr;
      gap: 70px;
    }

    .footer-brand {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 36px;
      color: #fff;
    }

    .footer-small {
      margin-top: 16px;
      font-size: 11px;
      line-height: 1.8;
      color: rgba(255,255,255,.58);
    }

    .footer-links {
      display: grid;
      gap: 10px;
      font-size: 11px;
      letter-spacing: .08em;
    }

    .copyright {
      margin-top: 58px;
      padding-top: 22px;
      border-top: 1px solid rgba(255,255,255,.14);
      font-size: 10px;
      color: rgba(255,255,255,.48);
    }

    @media (max-width: 980px) {
      .navlinks { display: none; }
      .nav h1 { width: 150px; margin: 0; }
      .menu-toggle {
        display: grid;
        place-content: center;
        gap: 6px;
        width: 48px;
        height: 48px;
        margin-right: -10px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 52;
      }
      .menu-toggle span {
        display: block;
        width: 25px;
        height: 1px;
        background: var(--purple-deep);
        transition: transform .3s ease, opacity .2s ease;
      }
      .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
      .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
      .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 51;
        width: min(82vw, 380px);
        height: 100dvh;
        padding: 112px 32px 48px;
        flex-direction: column;
        gap: 0;
        background: rgba(251,250,252,.98);
        box-shadow: -20px 0 60px rgba(79,61,97,.12);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .35s ease, visibility .35s;
      }
      .mobile-nav.is-open { transform: translateX(0); visibility: visible; }
      .mobile-nav a {
        padding: 17px 4px;
        border-bottom: 1px solid var(--line);
        color: var(--purple-deep);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 15px;
        letter-spacing: .14em;
      }
      body.menu-open { overflow: hidden; }
      .hero-grid,
      .about-grid,
      .message-grid,
      .scope-grid,
      .philosophy-grid,
      .session-wrap,
      .company-grid,
      .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
      }

      .hero { min-height: auto; padding-top: 140px; }
      .hero-art { min-height: 480px; }
      .hero-logo { width: min(82vw, 520px); }
      .halo { width: min(84vw, 560px); }

      .business-cards,
      .pillars,
      .values {
        grid-template-columns: 1fr;
      }

      .business-head {
        align-items: start;
        flex-direction: column;
      }

      .portrait { min-height: 520px; }
      .scope-list { grid-template-columns: 1fr; }
      .session-copy { padding: 90px 0 30px; }
      .session-panel { min-height: 480px; border-left: 0; border-top: 1px solid rgba(79,61,97,.12); }
      .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    }

    @media (max-width: 640px) {
      .container { width: min(calc(100% - 32px), var(--max)); }
      section { padding: 100px 0; }
      .nav { height: 72px; }
      .nav h1 { width: 132px; }
      .brand { font-size: 27px; }
      .hero { padding-top: 115px; }
      .hero-grid { gap: 26px; }
      .hero-art { min-height: 370px; }
      .message-grid { gap: 40px; }
      .portrait { min-height: 440px; }
      .business-card { min-height: 390px; }
      .scope-grid, .philosophy-grid, .company-grid, .contact-grid { gap: 48px; }
      .value h3 { margin-top: 46px; }
      .row { grid-template-columns: 110px 1fr; gap: 20px; }
      form { grid-template-columns: 1fr; }
      .full { grid-column: auto; }
      .session-box { width: calc(100% - 40px); padding: 32px; }
    }

/* FV slider */
.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  order: 1;
}

.hero-copy {
  order: 2;
}

.hero-art .hero-logo-wrap {
  position: relative;
  z-index: 2;
  margin: 0 auto 24px;
}

.hero-slider {
  position: relative;
  z-index: 2;
  display: block;
  width: min(72%, 520px);
  aspect-ratio: 1040 / 1200;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-soft);
  box-shadow: 0 18px 45px rgba(74, 57, 92, 0.10);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1.5s ease-in-out, transform 4.5s ease-out;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.halo {
  z-index: 0;
}

@media (max-width: 980px) {
  .hero-art {
    order: 1;
  }

  .hero-copy {
    order: 2;
  }

  .hero-art .hero-logo-wrap {
    margin-bottom: 18px;
  }

  .hero-slider {
    width: min(88%, 420px);
  }
}

@media (max-width: 640px) {
  .hero-slider {
    width: min(88%, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.3s linear;
    transform: none;
  }
}
