:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5f6670;
  --line: rgba(255,255,255,0.18);
  --line-dark: rgba(17,17,17,0.12);
  --surface: #f7f8fa;
  --surface-dark: #0f1720;
  --surface-darker: #090f16;
  --primary: #111111;
  --primary-contrast: #ffffff;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(17,17,17,0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

.section-pad {
  padding: 88px 0;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 860px;
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(17,17,17,0.08);
}

.site-header.is-menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.site-logo-link,
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-logo,
.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.site-logo-text,
.footer-logo-text {
  font-weight: 700;
  letter-spacing: .06em;
  display: none;
}

.site-tagline {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.9);
  transition: color .25s ease;
}

.site-header.is-scrolled .site-tagline {
  color: var(--muted);
}

.global-nav > ul,
.footer-nav,
.footer-social,
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav > ul > li {
  position: relative;
}

.global-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 84px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: color .25s ease;
}

.site-header.is-scrolled .global-nav > ul > li > a {
  color: var(--text);
}

.global-nav .submenu {
  position: absolute;
  top: calc(100% - 14px);
  left: 0;
  min-width: 270px;
  background: rgba(17,17,17,.96);
  color: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s ease;
}

.global-nav li:hover > .submenu,
.global-nav li:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.global-nav .submenu a,
.footer-submenu a,
.mobile-submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
}

.global-nav .submenu a:hover,
.mobile-nav a:hover,
.footer-nav a:hover,
.footer-social a:hover {
  background: rgba(255,255,255,.08);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: #ffffff;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--text);
}

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

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

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

.mobile-nav {
  position: fixed;
  inset: 84px 0 0;
  z-index: 5;
  background: rgba(15,23,32,.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  width: min(calc(100% - 28px), 560px);
  margin: 16px auto;
  background: #0f1720;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  max-height: calc(100dvh - 84px - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav li + li {
  margin-top: 8px;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
}

.mobile-submenu {
  margin-top: 8px;
  padding-left: 10px;
}

.hero {
  position: relative;
  min-height: 100svh;
  background: #0d1117;
  color: #ffffff;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.32), rgba(0,0,0,.48));
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay-content {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 62px);
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-card {
  width: min(100%, 700px);
  padding: 32px 36px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(100%, 300px);
  height: auto;
  margin-bottom: 18px;
}

.hero-copy {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.7;
  font-weight: 500;
}

.news-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

.news-ticker-inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.news-label,
.news-more {
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 700;
}

.news-viewport {
  overflow: hidden;
  height: 36px;
}

.news-track {
  transition: transform .45s ease;
}

.news-item {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-date {
  font-size: 12px;
  white-space: nowrap;
  opacity: .82;
}

.news-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading h2,
.info-card h2,
.parallax-content h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
}

.section-heading p,
.info-card p,
.parallax-content p {
  margin: 0;
  color: var(--muted);
}

.intro-gallery {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-image-card {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.intro-image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.section-cta {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary,
.button.secondary {
  background: var(--primary);
  color: var(--primary-contrast);
}

.button.ghost {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.06);
}

.section-dark {
  background: linear-gradient(180deg, #0c1117, #121a24);
}

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

.service-card {
  position: relative;
  min-height: 420px;
  background-position: center center;
  background-size: cover;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #ffffff;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.18));
}

.service-card-content {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  z-index: 1;
}

.service-catch {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
}

.service-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
}

.text-section {
  background: #ffffff;
}

.parallax-section {
  position: relative;
  min-height: 420px;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.42);
}

.parallax-content {
  color: #ffffff;
}

.parallax-content p {
  color: rgba(255,255,255,.84);
  margin-bottom: 28px;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  padding: 28px;
}

.info-card .button {
  margin-top: 24px;
  width: 100%;
}

.site-footer {
  background: var(--surface-darker);
  color: #ffffff;
}

.footer-main {
  padding: 68px 0 42px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-main h3 {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: .12em;
}

.footer-branding p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.74);
}

.footer-nav li,
.footer-social li {
  margin-bottom: 8px;
}

.footer-nav a,
.footer-social a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,.88);
}

.footer-submenu {
  margin-top: 6px;
  margin-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.to-top {
  font-size: 13px;
  letter-spacing: .12em;
}

.copyright {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .global-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .services-grid,
  .info-sections,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .parallax-section {
    background-attachment: scroll;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 74px;
  }

  .site-logo,
  .footer-logo {
    height: 34px;
  }

  .site-tagline {
    font-size: 11px;
  }

  .hero-overlay-content {
    padding-top: 104px;
    padding-bottom: 120px;
  }

  .hero-card {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .news-ticker-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .news-viewport {
    height: 42px;
  }

  .news-item {
    min-height: 42px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .news-title {
    white-space: normal;
    line-height: 1.45;
  }

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

  .service-card {
    min-height: 300px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .section-pad {
    padding: 72px 0;
  }

  .button {
    width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .mobile-nav {
    inset: 74px 0 0;
  }

  .mobile-nav-inner {
    max-height: calc(100dvh - 74px - 32px);
  }
}

.global-nav > ul > li > a.is-current,
.global-nav > ul > li > a.is-parent-current {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.global-nav .submenu a.is-current,
.mobile-nav a.is-current,
.footer-nav a.is-current,
.footer-submenu a.is-current {
  background: rgba(255,255,255,.12);
}

.page-main {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.page-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  background-color: #18202a;
  background-position: center center;
  background-size: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.20), rgba(0,0,0,.58));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 170px 0 76px;
}

.page-title {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: .06em;
}

.page-subtitle {
  margin: 12px 0 0;
  font-size: 15px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.88);
}

.page-section {
  padding: 88px 0;
}

.content-shell {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
}

.content-card {
  background: #ffffff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(17,17,17,.06);
}

.content-card + .content-card,
.content-card + .feature-grid,
.feature-grid + .content-card {
  margin-top: 24px;
}

.lead-copy {
  margin: 0 0 18px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.35;
}

.article-flow p,
.article-flow li {
  color: #1d2530;
}

.article-flow p {
  margin: 0 0 1.2em;
}

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

.feature-card {
  background: #f7f8fa;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 22px;
  padding: 28px;
}

.feature-card h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}

.feature-card p,
.feature-card li {
  color: #4d5662;
}

.feature-card p,
.feature-card ul {
  margin: 0;
}

.feature-card ul {
  margin-top: 14px;
  padding-left: 1.25em;
}

.callout-card {
  background: linear-gradient(135deg, #0c1117, #182331);
  color: #ffffff;
}

.callout-card h2 {
  margin-top: 0;
}

.callout-card p,
.callout-card li,
.callout-card .section-lead {
  color: rgba(255,255,255,.9);
}

.callout-card .button.secondary {
  background: #ffffff;
  color: #111111;
}

.section-lead {
  margin: 0 0 14px;
  font-size: 18px;
  color: #5f6670;
}

.vision-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.vision-points li {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.vision-footer-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .page-hero-inner {
    padding: 132px 0 56px;
  }

  .content-shell {
    width: min(calc(100% - 28px), 920px);
  }

  .content-card,
  .feature-card {
    padding: 24px;
    border-radius: 20px;
  }

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

  .vision-footer-actions {
    flex-direction: column;
  }
}

.service-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.service-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.10);
  background: #ffffff;
  color: #1d2530;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.service-switcher a:hover,
.service-switcher a.is-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.article-flow ul,
.article-flow ol {
  margin: 0;
  padding-left: 1.25em;
}

.article-flow p + ul,
.article-flow p + ol,
.feature-card p + .bullet-list {
  margin-top: 14px;
}

.bullet-list li + li {
  margin-top: 8px;
}

.service-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.service-summary-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(17,17,17,.06);
}

.service-summary-label {
  margin: 0 0 10px;
  color: #5f6670;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-summary-card h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}

.service-summary-card p {
  margin: 0;
  color: #4d5662;
}

.service-summary-card .button {
  width: 100%;
  margin-top: 24px;
}

.page-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .service-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .service-switcher a {
    width: 100%;
  }

  .page-actions {
    flex-direction: column;
  }
}

/* additional sub pages */
.section-stack {
  display: grid;
  gap: 24px;
}

.profile-table-wrap {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(17,17,17,.08);
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(17,17,17,.06);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.profile-table th,
.profile-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(17,17,17,.08);
  vertical-align: top;
  text-align: left;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: 0;
}

.profile-table th {
  width: 220px;
  background: #f7f8fa;
  color: #111111;
  font-weight: 700;
}

.profile-table td {
  color: #4d5662;
}

.profile-table td a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signature-block {
  margin-top: 18px;
  text-align: right;
  color: #4d5662;
}

.message-layout {
  display: grid;
  gap: 24px;
}

.message-highlight {
  border-left: 4px solid #111111;
  padding-left: 18px;
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.6;
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 20px 50px rgba(17,17,17,.06);
}

.timeline-date {
  margin: 0;
  font-weight: 800;
  letter-spacing: .04em;
  color: #111111;
}

.timeline-body {
  margin: 0;
  color: #4d5662;
}

.policy-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.policy-section-grid > .content-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.policy-list {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.policy-list li + li {
  margin-top: 10px;
}

.notice-card {
  border-radius: 22px;
  padding: 28px;
  background: #f7f8fa;
  border: 1px solid rgba(17,17,17,.08);
}

.notice-card p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  align-items: start;
}

.contact-embed-card {
  padding: 0;
  overflow: hidden;
}

.contact-embed-inner {
  padding: 28px;
}

.contact-embed-card .formmailer-embed {
  min-height: 560px;
}

.contact-side-card {
  background: #ffffff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(17,17,17,.06);
}

.contact-side-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 24px;
}

.contact-side-card p {
  margin: 0 0 1em;
  color: #4d5662;
}

.contact-meta-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-meta-list li {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f8fa;
  border: 1px solid rgba(17,17,17,.08);
}

.contact-meta-list strong {
  display: block;
  margin-bottom: 4px;
  color: #111111;
}

.inline-link {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.note-text {
  color: #5f6670;
  font-size: 14px;
}

.empty-page-note {
  text-align: center;
  color: #5f6670;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .policy-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }

  .profile-table th {
    border-bottom: 0;
    padding-bottom: 8px;
  }

  .profile-table td {
    padding-top: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-embed-inner,
  .contact-side-card,
  .notice-card {
    padding: 24px;
  }
}
