:root {
  --white: #ffffff;
  --sky: #4fc3e8;
  --sky-light: #cdeffb;
  --sky-pale: #f0fafd;
  --sky-dark: #2196c9;
  --green: #8bc34a;
  --green-dark: #6ea834;
  --text: #2b3a42;
  --text-soft: #5a6b73;
  --shadow: 0 10px 30px rgba(79, 195, 232, 0.15);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

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

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sky-light);
}

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

.brand-logo {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 4px 2px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

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

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

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--sky-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 24px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--white) 70%);
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: min(480px, 80vw);
  margin: 0 auto 28px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding-bottom: 90px;
  flex-wrap: wrap;
}

.hero-wave {
  position: relative;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 90px;
  display: block;
}

.hero-wave path {
  fill: var(--sky-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--sky);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(79, 195, 232, 0.28);
}

.btn-outline {
  background: var(--white);
  color: var(--sky-dark);
  border: 2px solid var(--sky-light);
}

.btn-outline:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 90px 0;
  scroll-margin-top: 84px;
}

.eyebrow {
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  text-align: center;
  margin: 0 0 8px;
}

.section-title {
  text-align: center;
  font-size: 1.7rem;
  margin: 0 0 56px;
  color: var(--sky-dark);
  font-weight: 900;
}

/* Concept */
.concept {
  background: var(--sky-pale);
}

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

.concept-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.concept-card h3 {
  color: var(--sky-dark);
  font-size: 1.1rem;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

.concept-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0;
}

.concept-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--sky-dark);
}

.icon-river {
  background: linear-gradient(135deg, var(--sky-light), var(--sky));
}

.icon-arrow {
  background: var(--sky-light);
  color: var(--green-dark);
}

.icon-maison {
  background: linear-gradient(135deg, #dff2c2, var(--green));
}

/* Members */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--sky-light);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sky);
}

.member-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--green));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  overflow: hidden;
}

.member-avatar.avatar-photo-png {
  background: var(--sky-light);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 0.95rem;
  margin: 0 0 4px;
  font-weight: 500;
}

.member-title {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin: 0 0 10px;
}

.member-links {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.member-links a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sky-dark);
  background: var(--sky-pale);
  padding: 5px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.member-links a:hover {
  background: var(--sky);
  color: var(--white);
}

/* About */
.about-card {
  background: var(--sky-pale);
  border-radius: var(--radius);
  padding: 40px;
}

.about-list { margin: 0; }

.about-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sky-light);
}

.about-row:last-child { border-bottom: none; }

.about-map {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sky-light);
}

.about-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.about-row dt {
  font-weight: 700;
  color: var(--sky-dark);
}

.about-row dd {
  margin: 0;
  color: var(--text);
}

/* Contact */
.contact {
  text-align: center;
  background: linear-gradient(180deg, var(--white), var(--sky-pale));
}

.contact-lead {
  color: var(--text-soft);
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 48px 24px 40px;
  background: var(--sky-dark);
  color: var(--white);
}

.footer-logo {
  height: 40px;
  margin: 0 auto 16px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Business */
.business-intro {
  position: relative;
  padding: 160px 24px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--white) 70%);
  overflow: hidden;
}

.business-intro .container {
  padding-bottom: 64px;
}

.business-lead {
  max-width: 640px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.9;
}

.business-detail {
  padding-top: 40px;
}

.business-group {
  margin-bottom: 56px;
}

.business-group:last-of-type {
  margin-bottom: 0;
}

.business-group-label {
  color: var(--sky-dark);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}

.business-group .business-item + .business-item {
  margin-top: 28px;
}

.business-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--sky-pale);
  border-radius: var(--radius);
  padding: 32px;
}

.business-item.no-media {
  display: block;
}

.business-note {
  text-align: center;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.9;
  max-width: 620px;
  margin: 48px auto 0;
}

.business-address {
  color: var(--text);
  line-height: 1.9;
  margin: 0 0 16px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: 12px;
}

.business-address p { margin: 0; }

.business-map {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sky-light);
}

.business-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.business-logo {
  max-width: 560px;
  margin: 0 auto 20px;
}

.business-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.business-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.business-gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(79, 195, 232, 0.3);
}

.business-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.business-media .gallery-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-media .gallery-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(79, 195, 232, 0.3);
}

.business-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-media-main {
  aspect-ratio: 3 / 2;
  background: var(--sky-light);
}

.business-media-main img {
  object-fit: contain;
}

.business-media-sub {
  aspect-ratio: 3 / 2;
}

.business-title {
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 18px;
}

.business-body p {
  color: var(--text);
  line-height: 1.9;
  margin: 0 0 16px;
}

.business-body p:last-child { margin-bottom: 0; }

@media (max-width: 780px) {
  .business-item {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .business-media {
    grid-template-columns: 1fr 1fr;
  }

  .business-media-main,
  .business-media-sub {
    aspect-ratio: 4 / 3;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 32, 0.85);
}

.lightbox-image {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 640px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

/* Coming soon */
.coming-soon {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--white) 70%);
}

.coming-soon-inner {
  text-align: center;
}

.coming-soon-text {
  font-size: 2rem;
  font-weight: 900;
  color: var(--sky);
  margin: 0 0 40px;
  letter-spacing: 0.05em;
}

/* Member modal */
.member-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.member-modal[hidden] {
  display: none;
}

.member-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 45, 56, 0.55);
  backdrop-filter: blur(3px);
}

.member-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  box-shadow: 0 30px 70px rgba(20, 45, 56, 0.35);
}

.member-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--sky-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.member-modal-media {
  flex: 0 0 42%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--sky), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 5rem;
}

.member-modal-media.media-photo-png {
  background: var(--sky-light);
}

.member-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-modal-body {
  flex: 1;
  padding: 40px 36px;
}

.member-modal-body #modal-name {
  margin: 0 0 4px;
  font-size: 1.6rem;
  color: var(--sky-dark);
}

.member-modal-body .member-title {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.member-modal-detail {
  color: var(--text);
  line-height: 1.9;
  margin: 0 0 28px;
}

.member-modal-body .member-links {
  justify-content: flex-start;
}

.member-modal-body .member-links a {
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* Responsive */
@media (min-width: 861px) {
  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px;
  }

  .member-card {
    padding: 44px 24px;
  }

  .member-avatar {
    width: 130px;
    height: 130px;
    margin-bottom: 20px;
    font-size: 2.2rem;
  }

  .member-name {
    font-size: 1.2rem;
  }

  .member-title {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }
}

@media (max-width: 860px) {
  .concept-grid { grid-template-columns: 1fr; }
  .about-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .member-modal-panel {
    flex-direction: column;
    max-height: 92vh;
  }

  .member-modal-media {
    min-height: 220px;
    font-size: 3.5rem;
  }

  .member-modal-body {
    padding: 28px 24px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--sky-light);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav a {
    padding: 14px 0;
    width: 100%;
    text-align: center;
  }

  .nav-toggle { display: flex; }

  .hero,
  .business-intro { padding-top: 140px; }
}
