:root {
  --white: #ffffff;
  --ink: #211b1b;
  --text: #3a3d45;
  --muted: #6f7480;
  --blue: #2b7cff;
  --blue-soft: #e9f4ff;
  --cyan: #65c7dd;
  --line: #e8edf3;
  --bg: #f7fbff;
  --shadow: 0 22px 70px rgba(20, 52, 91, 0.12);
  --container: 1152px;
  --radius: 28px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(232, 237, 243, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 56px;
  align-items: center;
  width: min(calc(100% - 96px), 1152px);
  min-height: 92px;
  margin: 0 auto;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
}

.brand-name {
  letter-spacing: -0.02em;
}

.global-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.global-nav a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease;
}

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

.header-cta,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: 0;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(43, 124, 255, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.header-cta:hover,
.button-primary:hover {
  filter: saturate(1.08);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(43, 124, 255, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
  padding: 96px 0 112px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 72px;
  align-items: center;
  width: min(calc(100% - 96px), var(--container));
  margin: 0 auto;
}

.hero-label {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.6rem, 9vw, 6.4rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin: 20px 0 0;
  font-size: 2rem;
  line-height: 1.5;
}

.hero-lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-media {
  position: relative;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.33 / 1;
  background: var(--blue-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 900ms ease, transform 5600ms ease;
}

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

.hero-floating-card {
  position: absolute;
  right: 28px;
  bottom: -32px;
  width: min(340px, 84%);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: floatCard 5.6s ease-in-out infinite;
}

.hero-floating-card span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-floating-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.55;
}

.statement-section {
  padding: 112px 0;
  text-align: center;
}

.statement-alt {
  background: linear-gradient(180deg, var(--white), var(--bg));
}

.section-label {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.42em;
}

.statement-title {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 4.2rem);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.statement-en {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section {
  padding: 128px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 20px 0 0;
  color: var(--muted);
}

.business-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 24px;
}

.business-card {
  min-height: 360px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(20, 52, 91, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.business-card.primary {
  background: linear-gradient(135deg, var(--blue), #73d6ed);
  border-color: transparent;
  color: var(--white);
}

.business-card:hover {
  border-color: rgba(43, 124, 255, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.business-card span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.business-card.primary span {
  color: rgba(255, 255, 255, 0.82);
}

.business-card h3 {
  margin: 24px 0 0;
  font-size: 1.32rem;
  line-height: 1.55;
}

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

.business-card.primary p {
  color: rgba(255, 255, 255, 0.86);
}

.profile-section {
  padding: 128px 0;
  background: var(--bg);
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 80px;
  align-items: start;
}

.company-table {
  margin: 0;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.company-table div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.faq-contact-section {
  background: var(--white);
}

.faq-contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.faq-contact-layout .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(20, 52, 91, 0.05);
}

.faq-list summary {
  position: relative;
  padding: 22px 56px 22px 24px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  content: "";
  transform: translateY(-60%) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form em {
  margin-left: 4px;
  color: var(--blue);
  font-style: normal;
  font-size: 0.74rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 124, 255, 0.12);
}

.form-button {
  width: 100%;
}

.form-message {
  min-height: 28px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  padding: 88px 0 28px;
  color: var(--ink);
  background: #f9fbfd;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 42px;
}

.footer-brand-block p,
.footer-column p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-logo {
  font-size: 1.56rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--blue);
}

.copyright {
  margin-top: 72px;
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

  .header-inner {
    grid-template-columns: auto auto;
    gap: 16px;
    min-height: 76px;
  }

  .header-cta,
  .global-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-open .global-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu-open .global-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding: 64px 0 92px;
  }

  .hero-inner,
  .business-grid,
  .profile-layout,
  .faq-contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    margin-top: 8px;
  }

  .business-card {
    min-height: auto;
  }

  .footer-grid {
    gap: 34px;
  }
}

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

  .container,
  .hero-inner,
  .header-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    font-size: 1.42rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding: 46px 0 78px;
  }

  .hero-inner {
    gap: 42px;
  }

  .hero-label {
    font-size: clamp(3.2rem, 18vw, 4.6rem);
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-slider {
    border-radius: 22px;
  }

  .hero-floating-card {
    right: 14px;
    bottom: -42px;
    width: calc(100% - 28px);
  }

  .statement-section,
  .section,
  .profile-section {
    padding: 82px 0;
  }

  .section-label {
    letter-spacing: 0.28em;
  }

  .statement-title {
    font-size: 2rem;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .business-card,
  .contact-form {
    padding: 24px;
    border-radius: 18px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 24px;
  }

  .site-footer {
    padding-top: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
