:root {
  --ink: #233441;
  --ink-soft: #596b78;
  --muted: #8797a3;
  --blue: #7da9c9;
  --blue-deep: #5f92b7;
  --blue-pale: #e7f2f8;
  --blue-whisper: #f3f8fb;
  --gray-pale: #f1f3f4;
  --line: #dce5ea;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--blue-whisper); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(125, 169, 201, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(125, 169, 201, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #fff 0%, #f7fafc 52%, #edf4f7 100%);
  background-size: 56px 56px, 56px 56px, auto;
  font-family: Inter, "Helvetica Neue", "Noto Sans SC", "Noto Sans JP", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page-shell {
  width: min(1480px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-header {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; justify-self: start; }
.brand img { width: clamp(164px, 17vw, 220px); height: auto; display: block; }

.company-name {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
}

.language-switcher {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.language-switcher > span {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.lang-button {
  width: 35px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.lang-button:hover { color: var(--blue-deep); }
.lang-button.is-active { color: var(--white); background: var(--blue); }

main { flex: 1; }

.hero {
  min-height: 520px;
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.maintenance-badge {
  width: fit-content;
  margin-bottom: 30px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--blue-pale);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.maintenance-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(125, 169, 201, 0.17);
  animation: breathe 2.3s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(57px, 6vw, 92px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

h1 em { color: var(--blue); font-style: normal; }

[data-language-panel="en"] h1 { font-size: clamp(54px, 5.7vw, 88px); line-height: 0.98; }
[data-language-panel="ja"] h1 { font-size: clamp(51px, 5.4vw, 82px); letter-spacing: -0.065em; }

.lead {
  max-width: 670px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.visual {
  position: relative;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  justify-self: end;
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one { width: 100%; height: 100%; }
.orbit-two { width: 76%; height: 76%; border-style: dashed; }

.tool-symbol {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 55%;
  height: 55%;
  border: 36px solid var(--blue-pale);
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%) rotate(12deg);
  box-shadow: 0 18px 55px rgba(91, 132, 160, 0.12), inset 0 0 0 1px #d8e8f1;
}

.tool-symbol span {
  position: absolute;
  width: 56px;
  height: 38px;
  left: calc(50% - 28px);
  top: calc(50% - 19px);
  border-radius: 6px;
  background: var(--blue);
  transform: translateY(-118px);
  transform-origin: 28px 137px;
}

.tool-symbol span:nth-child(2) { transform: translateY(-118px) rotate(90deg); }
.tool-symbol span:nth-child(3) { transform: translateY(-118px) rotate(180deg); }
.tool-symbol span:nth-child(4) { transform: translateY(-118px) rotate(270deg); }

.tool-symbol b {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 48px;
  height: 48px;
  border: 10px solid #c8dce9;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.visual p {
  position: absolute;
  right: -4px;
  bottom: 10%;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.66fr) minmax(0, 1.34fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(73, 109, 132, 0.08);
}

.contact-heading {
  min-height: 200px;
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--blue-pale);
}

.contact-kicker {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.contact-heading h2 {
  max-width: 290px;
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.contact-item {
  min-width: 0;
  padding: 31px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.contact-phone { grid-row: span 2; }
.contact-item:last-child { border-top: 1px solid var(--line); }

.contact-label {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.phone-list { display: grid; gap: 8px; }

.hotline-row {
  min-width: 350px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid #e5ebee;
  border-radius: 4px;
  background: var(--gray-pale);
}

.phone-list a {
  width: fit-content;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}

.language-tags {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: inset 0 0 0 1px #d8e4eb;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.phone-list small {
  color: var(--blue-deep);
  font-size: 0.48em;
  font-weight: 700;
  vertical-align: 0.32em;
}

.contact-value {
  width: fit-content;
  max-width: 100%;
  color: var(--ink-soft);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

a.contact-value:hover, .phone-list a:hover { color: var(--blue-deep); }

.site-footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.035em;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; align-items: center; gap: 11px; }
.site-footer a:hover { color: var(--blue-deep); }

[hidden] { display: none !important; }

@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .company-name { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 68px 0; }
  .visual { position: absolute; z-index: -1; right: -100px; top: 160px; width: 380px; opacity: 0.28; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-heading { min-height: 132px; }
}

@media (max-width: 640px) {
  .page-shell { padding: 0 16px; }
  .site-header { min-height: 88px; gap: 12px; }
  .brand img { width: 142px; }
  .language-switcher { gap: 3px; padding: 4px; }
  .language-switcher > span { display: none; }
  .lang-button { width: 29px; height: 27px; font-size: 10px; }
  .hero { padding: 52px 0 46px; }
  .maintenance-badge { margin-bottom: 25px; }
  h1, [data-language-panel="en"] h1, [data-language-panel="ja"] h1 { font-size: clamp(43px, 13vw, 60px); }
  [data-language-panel="en"] h1 { letter-spacing: -0.065em; }
  .lead { margin-top: 25px; font-size: 14px; line-height: 1.85; }
  .contact-heading { min-height: auto; padding: 28px 25px; }
  .contact-heading h2 { font-size: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { min-height: 108px; padding: 24px 25px; border-left: 0; border-top: 1px solid var(--line); }
  .contact-phone { min-height: 150px; grid-row: auto; border-top: 0; }
  .hotline-row { min-width: 0; padding: 10px; gap: 10px; }
  .phone-list a { font-size: clamp(18px, 5.7vw, 23px); }
  .language-tags { padding: 4px 7px; font-size: 9px; }
  .site-footer { padding: 27px 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 13px; }
  .site-footer nav { flex-wrap: wrap; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
