

:root{
  --accent: #4b3fff;     
  --accent-2: #00b7ff;
  --ink: #0b1220;        
  --muted: #334155;      
  --surface: #ffffff;
  --ring: rgba(75,63,255,0.30);
  --border: rgba(15,23,42,0.14);
  --border-soft: rgba(15,23,42,0.08);
}


html, body {
  background: #ffffff !important;
  color: var(--ink);
  font-size: 16.5px;                
  line-height: 1.65;                
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
               Meiryo, Roboto, Arial, system-ui, sans-serif !important;
}


*, *::before, *::after { text-shadow: none !important; }


article, .content, .container, .wrapper, .page, main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 3vw, 28px);
  padding-right: clamp(12px, 3vw, 28px);
}


h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0.6em 0 0.4em;
}
h1 { font-size: clamp(28px, 4.2vw, 40px); }
h2 { font-size: clamp(22px, 3.2vw, 32px); }
h3 { font-size: clamp(18px, 2.4vw, 24px); }

h1::after, h2::after, h3::after{
  content:"";
  display:block;
  margin-top: 8px;
  height:3px; width:64px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}


p, li {
  font-weight: 450;
  color: var(--ink);
}
small, .small, .caption {
  font-size: 0.9em;
  color: var(--muted);
}


a, a:visited {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover, a:focus {
  text-decoration-thickness: 3px;
}


b, strong { font-weight: 700; }
em, i { font-style: italic; }


main, header, footer, section, article, aside, nav,
.container, .wrapper, .content, .page, .hero, .banner, .masthead, .intro,
.callout, .feature, .panel, .card, .box, .tile {
  background: #ffffff !important;
  background-image: none !important;
}


*::before, *::after {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none;
  opacity: 1;
}


hr, .divider { border: 0; border-top: 1px solid var(--border-soft); height: 0; }


[class*="card"], [class*="panel"], [class*="tile"], [class*="box"], .card, .panel, .tile, .box {
  background: #ffffff !important;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}


table {
  background: #ffffff !important;
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 14px;
}
th { color: var(--ink); font-weight: 700; }


input, select, textarea {
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,0.22) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  color: var(--ink) !important;
}
input::placeholder, textarea::placeholder { color: #6b7280; }
input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 6px var(--ring);
}


button, .button, input[type="button"], input[type="submit"], .btn {
  background: #ffffff !important;
  color: var(--ink) !important;
  border: 1px solid rgba(15, 23, 42, 0.22) !important;
  border-radius: 12px !important;
  padding: 0.6em 1em !important;
  transition: box-shadow .2s ease, transform .05s ease, border-color .2s ease;
}
button:hover, .button:hover, input[type="button"]:hover, input[type="submit"]:hover, .btn:hover {
  border-color: rgba(75,63,255,0.55) !important;
  box-shadow: 0 0 0 6px var(--ring), 0 8px 20px rgba(0,0,0,0.05);
}

.btn-primary, .button.primary, .btn.is-primary {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}
.btn-primary:hover, .button.primary:hover, .btn.is-primary:hover {
  box-shadow: 0 0 0 6px var(--ring), 0 10px 24px rgba(0,0,0,0.08);
}


nav a {
  font-weight: 600;
}


svg, svg path { fill: currentColor; stroke: currentColor; }


pre, code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Noto Sans JP", monospace !important;
  color: var(--ink);
  background: #fafafa;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.15em 0.35em;
}


::selection { background: rgba(75,63,255,0.18); color: var(--ink); }


.whiten, [class*="bg-"], [style*="background"] {
  background: #ffffff !important;
  background-image: none !important;
}


@media (prefers-contrast: more) {
  :root { --ring: rgba(75,63,255,0.45); --border: rgba(15,23,42,0.24); }
  a { text-decoration-thickness: 3px; }
  button, .button, .btn { border-width: 1.5px !important; }
}



:root { --header-bg: #ffffff; --header-border: rgba(15,23,42,0.12); }


header, .header, .site-header, #header, .topbar, .top-bar, .navbar, .nav-bar, .navigation, .site-nav, .main-nav {
  background: var(--header-bg) !important;
  background-image: none !important;
  color: var(--ink) !important;
  mix-blend-mode: normal !important;
  box-shadow: 0 1px 0 var(--header-border);
}


header::before, header::after,
.site-header::before, .site-header::after,
.navbar::before, .navbar::after,
.topbar::before, .topbar::after {
  content: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}


.header--transparent, .site-header--transparent, .navbar--transparent, .nav--transparent, .is-transparent {
  background: var(--header-bg) !important;
}


[class*="gradient"], [class*="header-gradient"] {
  background-image: none !important;
}


header, .header, .site-header, .navbar {
  backdrop-filter: none !important;
}


header a, .site-header a, .navbar a, .navigation a {
  color: var(--ink) !important;
  text-shadow: none !important;
}
header a:hover, .site-header a:hover, .navbar a:hover, .navigation a:hover {
  color: var(--accent) !important;
}


header .btn, .site-header .btn, .navbar .btn, .navigation .btn,
header [class*="button"], .site-header [class*="button"] {
  background: #ffffff !important;
  color: var(--ink) !important;
  border: 1px solid var(--header-border) !important;
  box-shadow: none !important;
}


header img.bg, .site-header img.bg, .navbar img.bg { display: none !important; }
