:root {
  --ink: #151716;
  --muted: #656a67;
  --green: #45d39b;
  --green-dark: #1c9f70;
  --line: #dde2df;
  --surface: #f5f7f6;
  --white: #ffffff;
  --content-width: 1480px;
  --font-sans: "Inter", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

sharewel-header,
sharewel-footer {
  display: block;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.section {
  padding: 120px 0 104px;
}

.section-muted {
  background: var(--surface);
}

.section-label {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h1,
.section h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}

.section-heading > p {
  max-width: 380px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 84px;
  border-bottom: 1px solid transparent;
  background: var(--white);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(21, 23, 22, 0.08);
  box-shadow: 0 10px 35px rgba(20, 28, 24, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 72px), 1600px);
  height: 100%;
  margin: 0 auto;
}

.header-brand,
.footer-brand {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.site-header .header-brand,
.site-header .header-brand:hover,
.site-header .header-brand:focus,
.site-header .header-brand:active {
  color: var(--ink);
}

.header-brand span,
.footer-brand span,
.hero h1 span {
  color: var(--green);
}

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

.global-nav a {
  font-size: 16px;
  font-weight: 600;
  transition: color 160ms ease;
}

.global-nav a:hover {
  color: var(--green-dark);
}

.global-nav .nav-service-link {
  padding: 10px 19px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.global-nav .nav-service-link:hover {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 600px;
  height: 100vh;
  height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: 128px 32px 80px;
}

.hero::before {
  position: absolute;
  inset: 8% 15% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(69, 211, 155, 0.08), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero h1 {
  margin: 0;
  width: clamp(300px, 55vw, 920px);
  max-width: calc(100vw - 40px);
  line-height: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
}

.hero p {
  margin: 44px 0 0;
  color: #353a37;
  font-size: clamp(19px, 2.1vw, 34px);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  opacity: 0;
}

.hero-scroll i {
  width: 1px;
  height: 36px;
  opacity: 0;
  background: var(--ink);
  transform: scaleY(0.35);
  transform-origin: top;
}

body.is-page-loaded .hero-scroll span {
  animation: hero-scroll-text-in 1.2s ease-out 0.8s forwards;
}

body.is-page-loaded .hero-scroll i {
  animation: hero-scroll-line-in 1.5s ease-out 1.05s forwards;
}

@keyframes hero-scroll-text-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-scroll-line-in {
  from {
    opacity: 0;
    transform: scaleY(0.35);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Intro */
.intro {
  padding-top: 120px;
}

#about-heading,
#news-heading,
#concept-heading,
#members-heading,
#contact-heading {
  scroll-margin-top: 40px;
}

.intro > .page-container > h2 {
  margin-bottom: 68px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: start;
  gap: clamp(40px, 5vw, 88px);
}

.intro-copy {
  max-width: 850px;
  padding-bottom: 28px;
}

.intro-copy p {
  margin: 0 0 1.75em;
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 500;
  line-height: 1.75;
}

.intro-copy .intro-lead {
  margin-bottom: 1.75em;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 52px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  color: #052d20;
  background: var(--green);
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: #58dda9;
  transform: translateY(-2px);
}

.text-link {
  padding: 7px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.product-visual {
  position: relative;
  display: block;
  align-self: start;
  transition: transform 250ms ease;
}

.product-visual:hover {
  transform: translateY(-6px);
}

.product-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 26px rgba(19, 30, 25, 0.14));
}

.product-visual-overlay {
  position: absolute;
  inset: 3.2%;
  display: flex;
  border-radius: 18px;
  opacity: 0;
  color: var(--white);
  background: rgba(10, 16, 13, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.product-visual-overlay > span {
  font-size: 1.15em;
}

.product-visual:hover .product-visual-overlay,
.product-visual:focus-visible .product-visual-overlay {
  opacity: 1;
}

@media (min-width: 1101px) {
  .product-visual {
    margin-left: -10px;
  }
}

/* News */
.news-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 150px 1fr 40px;
  align-items: center;
  gap: 28px;
  min-height: 96px;
  padding: 24px 4px;
}

a.news-row {
  transition: color 160ms ease, padding 160ms ease;
}

a.news-row:hover {
  padding-right: 0;
  padding-left: 12px;
  color: var(--green-dark);
}

.news-row time {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.news-title {
  font-size: 15px;
  font-weight: 600;
}

.news-arrow {
  justify-self: end;
  font-size: 18px;
}

.news-status {
  padding: 30px 4px;
  color: var(--muted);
  font-size: 14px;
}

.news-status.is-error {
  color: #a33a3a;
}

.news-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 34px;
}

.news-page,
.legal-shell-page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

.legal-shell-page .legal-page {
  flex: 1 0 auto;
}

.news-archive {
  flex: 1 0 auto;
  padding-top: 84px;
}

.news-page .site-footer,
.legal-shell-page .site-footer {
  flex-shrink: 0;
}

.news-archive .section-heading {
  margin-bottom: 70px;
}

.news-archive .news-list {
  margin-top: 0;
}

/* Principles */
.principles {
  padding-top: 120px;
  padding-bottom: 112px;
}

.principles > .page-container > h2 {
  max-width: 820px;
}

.principle-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  grid-template-rows: repeat(2, clamp(210px, 16vw, 264px));
  gap: 14px;
  margin-top: 72px;
}

.principle-gallery figure {
  position: relative;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.principle-gallery-main {
  grid-row: 1 / span 2;
}

.principle-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.principle-gallery figure:hover img {
  transform: scale(1.025);
}

.principle-gallery figure:nth-child(3) img {
  object-position: center 65%;
}

.principle-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 54px 24px 20px;
  color: var(--white);
  background: linear-gradient(to top, rgba(12, 17, 14, 0.76), transparent);
  font-size: 13px;
  font-weight: 600;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.principle-grid article {
  min-height: 330px;
  padding: 46px;
  background: var(--white);
}

.principle-grid article > span {
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.principle-grid h3 {
  margin: 28px 0 20px;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.principle-grid p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Concept */
.concept {
  border-top: 1px solid var(--line);
}

.concept .section-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 64px;
}

.concept .section-heading > p {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
}

.concept-content {
  width: 100%;
  max-width: none;
  margin: 0;
}

.concept-content p {
  margin: 0 0 30px;
  color: #353a37;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 2;
}

.concept-content .concept-signature {
  margin-top: 58px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.concept-signature a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Members */
.member-groups {
  display: grid;
  gap: 72px;
}

.member-group h3 {
  margin: 0 0 24px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.member-grid li {
  min-height: 150px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.member-grid strong,
.member-grid span {
  display: block;
}

.member-grid strong {
  margin-bottom: 14px;
  font-size: 17px;
}

.member-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.member-grid .member-status {
  grid-column: 1 / -1;
  min-height: auto;
  color: var(--muted);
  font-size: 14px;
}

.member-grid .member-status.is-error {
  color: #a33a3a;
}

/* Support */
.support-lead {
  max-width: 760px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

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

.support-card {
  display: flex;
  min-width: 0;
  min-height: 224px;
  padding: 34px 28px 26px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.support-card:hover {
  border-color: rgba(24, 154, 111, 0.45);
  box-shadow: 0 18px 42px rgba(20, 31, 26, 0.09);
  transform: translateY(-4px);
}

.support-logo {
  display: flex;
  height: 94px;
  align-items: center;
  justify-content: center;
}

.support-logo img {
  display: block;
  width: 100%;
  max-width: 230px;
  max-height: 82px;
  object-fit: contain;
}

.support-card--riise .support-logo img {
  max-width: 100%;
  max-height: 57px;
}

.support-card--erato .support-logo img {
  max-width: 260px;
}

.support-name {
  min-height: 64px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

/* Contact */
.contact {
  color: var(--white);
  background: var(--ink);
}

.contact .section-label {
  color: var(--green);
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}

.contact h2 {
  margin-bottom: 30px;
}

.contact p:not(.section-label) {
  max-width: 620px;
  margin: 0;
  color: #b8bfbb;
}

.contact .primary-button {
  flex: 0 0 auto;
  min-width: 260px;
}

.auth-note {
  padding: 30px 0;
  border-bottom: 1px solid #2d302f;
  color: #aeb5b1;
  background: var(--ink);
}

.auth-note p {
  max-width: 980px;
  margin: 0;
  font-size: 12px;
}

.auth-note a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 58px 0;
  color: var(--white);
  background: var(--ink);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  font-size: 42px;
}

.footer-identity {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
}

.footer-copyright {
  margin: 0;
  color: #808783;
  font-size: 11px;
  line-height: 1;
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 30px;
}

.footer-top nav a {
  color: #c6cbc8;
  font-size: 12px;
}

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

@media (max-width: 1100px) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .header-brand {
    position: relative;
    z-index: 2;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle > span:not(.visually-hidden) {
    position: absolute;
    left: 8px;
    width: 26px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease, top 180ms ease;
  }

  .nav-toggle > span:first-child {
    top: 16px;
  }

  .nav-toggle > span:nth-child(2) {
    top: 25px;
  }

  .nav-open .nav-toggle > span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle > span:nth-child(2) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    visibility: hidden;
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 25px;
    padding: 124px 44px 56px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .nav-open .global-nav {
    visibility: visible;
    opacity: 1;
  }

  .global-nav a,
  .global-nav a:not(.nav-service-link) {
    display: block;
    font-size: 22px;
  }

  .global-nav .nav-service-link {
    margin-top: 16px;
    padding: 13px 22px;
    font-size: 15px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 900px;
  }

  .product-visual {
    width: min(100%, 780px);
    margin-left: auto;
  }

  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .page-container,
  .header-inner {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .section {
    padding: 80px 0 72px;
  }

  .intro {
    padding-top: 80px;
  }

  #about-heading,
  #news-heading,
  #concept-heading,
  #members-heading,
  #contact-heading {
    scroll-margin-top: 12px;
  }

  .site-header {
    height: 72px;
  }

  .header-brand {
    font-size: 31px;
  }

  .global-nav {
    padding: 112px 32px 48px;
  }

  .hero {
    min-height: 570px;
    height: 100svh;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    width: min(88vw, 660px);
  }

  .hero p {
    max-width: 330px;
    margin: 30px auto 0;
    font-size: 17px;
    line-height: 1.7;
  }

  .intro > .page-container > h2 {
    margin-bottom: 44px;
  }

  .intro-grid {
    gap: 48px;
  }

  .intro-copy p {
    margin-bottom: 1.75em;
    font-size: 15px;
  }

  .intro-copy .intro-lead {
    margin-bottom: 1.75em;
  }

  .intro-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 38px;
  }

  .intro-actions .text-link {
    margin-left: 14px;
  }

  .primary-button {
    min-height: 54px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 42px;
  }

  .section-heading > p {
    margin: 0;
  }

  .news-row {
    grid-template-columns: 1fr 26px;
    gap: 12px;
    padding: 22px 0;
  }

  .news-row time {
    grid-column: 1 / -1;
  }

  .news-more {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .news-archive {
    padding-top: 72px;
  }

  a.news-row:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .principles {
    padding-top: 80px;
    padding-bottom: 78px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .principle-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
    margin-top: 48px;
  }

  .principle-gallery-main {
    grid-row: auto;
  }

  .principle-gallery figure {
    height: 260px;
  }

  .principle-gallery figure:not(.principle-gallery-main) {
    height: 220px;
  }

  .principle-grid article {
    min-height: auto;
    padding: 34px 28px;
  }

  .principle-grid h3 {
    margin: 22px 0 14px;
  }

  .concept-content p {
    margin-bottom: 24px;
    line-height: 1.9;
  }

  .concept .section-heading {
    gap: 16px;
    margin-bottom: 42px;
  }

  .concept .section-heading > p {
    font-size: 14px;
  }

  .concept-content .concept-signature {
    margin-top: 42px;
  }

  .member-grid {
    grid-template-columns: 1fr;
  }

  .member-groups {
    gap: 52px;
  }

  .member-group h3 {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .member-grid li {
    min-height: auto;
    padding: 24px;
  }

  .support-lead {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 190px;
    padding: 28px 24px 22px;
  }

  .support-name {
    min-height: 0;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 44px;
  }

  .contact .primary-button {
    min-width: 0;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .hero-scroll span,
  .hero-scroll i,
  body.is-page-loaded .hero-scroll span,
  body.is-page-loaded .hero-scroll i {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
