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

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #f5f9ff;
  overflow-x: clip;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100vh;
  background: #f5f9ff;
  color: var(--color-text-main, #1a1a1a);
  font-family: "Noto Sans JP", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.border-primary {
  border-color: var(--color-brand-base-primary, #4285f4);
}

.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.inline-block {
  display: inline-block;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

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

.gap-3 {
  gap: 0.75rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-12 {
  width: 3rem;
}

.max-w-none {
  max-width: none;
}

.rounded-full {
  border-radius: 9999px;
}

.border-4 {
  border-width: 4px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-t-transparent {
  border-top-color: transparent;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.font-bold {
  font-weight: 700;
}

.text-error {
  color: var(--color-state-error, #d32f2f);
}

.hover\:underline:hover {
  text-decoration: underline;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-10 > * + * {
  margin-top: 2.5rem;
}

.animate-spin {
  animation: supportSpin 1s linear infinite;
}

@keyframes supportSpin {
  to {
    transform: rotate(360deg);
  }
}

.support-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.support-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(219, 234, 255, 0.98) 0%, rgba(236, 245, 255, 0.98) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #9ec1ff;
  box-shadow: 0 10px 28px rgba(66, 133, 244, 0.14);
}

.support-header__inner,
.support-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.support-header__inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.support-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #0b3470;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.support-brand img {
  width: 2rem;
  height: 2rem;
}

.support-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.support-nav a {
  border-radius: 999px;
  color: #315b94;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.support-nav a:hover,
.support-nav a:focus-visible,
.support-nav a.is-active {
  background: #d3e6ff;
  color: #1f5fbf;
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.28);
  outline: none;
}

.support-nav__external {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
  border: 1px solid #9ec1ff;
  background: #fff;
  color: #1f5fbf !important;
}

.support-nav__external:hover,
.support-nav__external:focus-visible {
  background: #f4f8ff !important;
}

.support-main {
  flex: 1;
  background: linear-gradient(180deg, #eaf3ff 0%, #f7fbff 12rem, #ffffff 30rem, #f8fbff 100%);
}

.support-footer {
  border-top: 1px solid var(--color-base-border-divider, #e0e0e0);
  background: #f8fbff;
}

.support-footer__inner {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  color: var(--color-text-sub, #6b6b6b);
  font-size: 0.875rem;
}

.support-footer__brand p {
  margin: 0;
}

.support-footer__brand p + p {
  margin-top: 0.375rem;
  max-width: 24rem;
  line-height: 1.7;
}

.support-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.support-footer__heading {
  margin: 0 0 0.5rem;
  color: var(--color-text-main, #1a1a1a);
  font-size: 0.8125rem;
  font-weight: 800;
}

.support-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.875rem;
}

.support-footer__links a {
  color: inherit;
  text-decoration: none;
}

.support-footer__links a:hover,
.support-footer__links a:focus-visible {
  color: var(--color-brand-base-primary, #4285f4);
  text-decoration: underline;
}

.support-placeholder {
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.support-placeholder__panel {
  border: 1px solid #d8e4f7;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(21, 44, 82, 0.08);
  padding: 2rem;
}

.support-placeholder__label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #8a5a00;
  background: #fff7df;
  border: 1px solid #f1d48a;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 0.375rem 0.75rem;
}

.support-placeholder h1 {
  margin: 1rem 0 0.75rem;
  color: var(--color-text-main, #1a1a1a);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
}

.support-placeholder p,
.support-placeholder li {
  color: var(--color-text-sub, #6b6b6b);
  line-height: 1.8;
}

.support-placeholder ul {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
}

.support-placeholder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .support-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .support-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.125rem;
  }

  .support-footer__inner,
  .support-footer__nav {
    grid-template-columns: 1fr;
  }
}
