:root {
  --bg: #eef3f8;
  --bg-deep: #e3ebf4;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --line: rgba(255, 255, 255, 0.72);
  --text: #1d2d42;
  --muted: #5d6f84;
  --heading: #102238;
  --primary: #2e6ea9;
  --primary-dark: #1c4f80;
  --shadow-dark: rgba(154, 173, 193, 0.24);
  --shadow-light: rgba(255, 255, 255, 0.92);
  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at bottom right, rgba(111, 157, 205, 0.14), transparent 20%),
    linear-gradient(180deg, #f6f9fc 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
}

.page-shell::before {
  top: 90px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(159, 204, 255, 0.26);
}

.page-shell::after {
  right: -40px;
  top: 240px;
  width: 240px;
  height: 240px;
  background: rgba(210, 229, 255, 0.36);
}

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

.soft-panel,
.hero-shell,
.button-secondary,
.profile-row,
.cta-mail {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(232, 240, 248, 0.8));
  box-shadow: 20px 20px 42px var(--shadow-dark), -18px -18px 34px var(--shadow-light),
    inset 1px 1px 0 rgba(255, 255, 255, 0.82), inset -1px -1px 0 rgba(197, 212, 226, 0.32);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  color: var(--primary-dark);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #31465d;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--heading);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease,
    color 0.25s ease;
}

.button:hover,
.button:focus-visible,
.service-card:hover,
.service-card:focus-within,
.cta-mail:hover,
.cta-mail:focus-visible {
  transform: translateY(-4px);
}

.button-primary {
  color: #f7fbff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 14px 14px 28px rgba(80, 115, 150, 0.24), -8px -8px 18px rgba(255, 255, 255, 0.54);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 18px 18px 34px rgba(80, 115, 150, 0.28), -10px -10px 18px rgba(255, 255, 255, 0.58);
}

.button-secondary {
  color: #42566e;
}

.button-full {
  width: 100%;
}

.header-cta {
  white-space: nowrap;
}

.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.menu-toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--heading);
  transition: all 0.3s ease;
  transform-origin: left center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: rotate(-45deg);
}

.section {
  position: relative;
  padding: 96px 0 0;
}

.section-last {
  padding-bottom: 112px;
}

.hero {
  padding-top: 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 30px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-icon {
  color: #3b7bb8;
}

.section-label,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #708299;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mini-label {
  font-size: 11px;
  font-weight: 700;
}

.hero-heading-block {
  display: grid;
  gap: 24px;
}

h1,
h2,
h3 {
  color: var(--heading);
  font-family: "Cormorant Garamond", "Noto Sans JP", serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.5rem, 7vw, 4rem);
  line-height: 0.98;
  font-weight: 600;
  line-height: 120%;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.4;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 600;
}

.hero-lead,
.body-card p,
.service-card p,
.company-copy,
.profile-value,
.cta-copy p,
.stat-card p:last-child,
.service-visual-note p:last-child {
  color: var(--muted);
  line-height: 1.95;
}

.hero-lead {
  max-width: 720px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.stat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.stat-card h2 {
  margin-top: 12px;
  font-size: 1.5rem;
}

.stat-card p:last-child {
  margin-top: 10px;
  font-size: 14px;
}

.hero-shell {
  padding: 16px;
  border-radius: 38px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(145deg, rgba(247, 250, 253, 0.88), rgba(221, 232, 240, 0.82));
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 30px;
  background: #dfe8f0;
}

.hero-visual > img,
.service-visual > img,
.cta-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(245, 249, 252, 0.88) 12%,
    rgba(245, 249, 252, 0.22) 42%,
    rgba(12, 35, 70, 0.14) 100%
  );
}

/* New Hero Visual Composition */
.hero-visual-composition {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.hero-main-visual {
  width: 100%;
  max-width: 480px;
  z-index: 1;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 20px;
  pointer-events: auto;
  animation: floating 6s ease-in-out infinite;
}

.float-icon {
  font-size: 20px;
  color: var(--primary);
  width: 24px;
  text-align: center;
}

.float-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
}

.float-card-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 15%;
  left: -10%;
  animation-delay: -2s;
}

.float-card-3 {
  bottom: 0%;
  right: 5%;
  animation-delay: -4s;
}

.hero-sub-visual {
  position: absolute;
  top: 55%;
  right: -15%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--surface);
  box-shadow: 20px 20px 40px var(--shadow-dark);
  animation: floating 8s ease-in-out infinite reverse;
}

.hero-sub-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.visual-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: 28px;
}

.visual-card-text {
  max-width: 520px;
  margin-top: 12px;
  color: var(--heading);
  font-size: 1.6rem;
  line-height: 1.45;
  font-weight: 700;
}

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

.section-card,
.body-card,
.profile-wrap,
.service-visual-panel,
.cta-shell {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.body-card {
}
.mission-section {
  text-align: center;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 56px;
}

.service-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: stretch;
}

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

.service-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: 24px 24px 46px rgba(159, 176, 196, 0.22), -18px -18px 38px rgba(255, 255, 255, 0.92),
    inset 1px 1px 0 rgba(255, 255, 255, 0.75), inset -1px -1px 0 rgba(198, 213, 226, 0.32);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 20px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.58);
}

.service-card p {
  margin-top: 16px;
  font-size: 14px;
}

.service-visual-panel {
  padding: 16px;
}

.service-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #dfe8f0;
}

.service-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 249, 252, 0.06), rgba(247, 249, 252, 0.78));
}

.service-visual-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.service-visual-note p:last-child {
  margin-top: 10px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.company-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.company-copy {
  margin-top: 22px;
  font-size: 16px;
}

.profile-wrap {
  padding: 56px;
}

.profile-table {
  width: 70%;
  margin: 3rem auto;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.profile-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
}

.profile-row + .profile-row {
  margin-top: 12px;
}

.profile-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #708299;
}

.profile-value {
  color: #22354c;
  font-size: 16px;
  font-weight: 600;
}

.cta-shell {
  padding: 18px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 420px;
  padding: 56px;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(245, 248, 252, 0.92),
    rgba(241, 246, 250, 0.8),
    rgba(234, 241, 250, 0.64)
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  min-height: 308px;
}

.cta-copy {
  max-width: 760px;
}

.cta-copy p:last-child {
  margin-top: 22px;
  font-size: 18px;
}

.cta-actions {
  display: grid;
  gap: 16px;
  min-width: 320px;
}

.cta-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  color: #1f3349;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  color: #30455c;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero-grid,
  .service-layout,
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    justify-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual-composition {
    max-width: 600px;
    margin: 40px auto 0;
  }

  .hero-sub-visual {
    right: -2%;
    width: 120px;
    height: 120px;
  }

  .float-card-1 {
    right: 5%;
  }

  .float-card-2 {
    left: 5%;
  }

  .service-cards,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-card {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions {
    min-width: 0;
    width: 100%;
  }

  .cta-content {
    align-items: center;
    min-height: auto;
  }
}

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

  body.nav-open {
    overflow: hidden;
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 90;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .site-nav.is-active {
    right: 0;
  }

  .site-nav a {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading);
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .section {
    padding-top: 64px;
  }

  .section-card,
  .body-card,
  .profile-wrap,
  .service-visual-panel,
  .cta-shell,
  .stat-card,
  .service-card,
  .cta-panel {
    padding: 30px 20px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-stats,
  .service-cards {
    grid-template-columns: 1fr;
  }

  .profile-table {
    width: 100%;
    margin: 2rem 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-visual-composition {
    padding: 10px 0;
    max-width: 100%;
  }

  .hero-sub-visual {
    display: none;
  }

  .hero-main-visual {
    max-width: 100%;
  }

  .float-card {
    padding: 10px 14px;
    gap: 8px;
    border-radius: 14px;
  }

  .float-card-1 {
    top: 0;
    right: 2%;
  }

  .float-card-2 {
    bottom: 10%;
    left: 2%;
  }

  .float-card-3 {
    bottom: -5%;
    right: 2%;
  }

  .float-icon {
    font-size: 14px;
    width: 18px;
  }

  .float-text {
    font-size: 11px;
  }

  .mini-label {
    font-size: 9px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
  }

  .cta-panel {
    padding: 40px 20px;
  }

  .service-visual-note p:last-child,
  .visual-card-text,
  .cta-copy p:last-child,
  .hero-lead {
    font-size: 15px;
  }

  .header-inner {
    padding: 15px 0;
  }

  .site-nav a {
    font-size: 20px;
  }
}
