/* Page-only foundation. The original A-top uses assets/css/site.css. */
:root {
  --rc-blue: #12324e;
  --rc-orange: #eb7e00;
  --rc-ink: #20272b;
  --rc-white: #fff;
  --rc-font: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--rc-ink);
  font-family: var(--rc-font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.rc-menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
  cursor: pointer;
}

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

button, a {
  -webkit-tap-highlight-color: rgba(22, 116, 172, 0.2);
}

.wp-site-blocks {
  padding: 0;
  overflow: clip;
}

.wp-site-blocks > * {
  margin: 0 !important;
}

.wp-block-group.rc-main {
  margin: 0 !important;
  padding: 0;
  max-width: none;
}

.rc-main > * {
  margin: 0;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #eb7e00;
  outline-offset: 5px;
}

a:focus-visible {
  position: relative;
  z-index: 6;
}

.rc-skip {
  position: fixed;
  z-index: 200;
  left: 20px;
  top: 12px;
  padding: 10px 20px;
  background: #fff;
  color: var(--rc-blue);
  transform: translateY(-150%);
}

.rc-skip:focus {
  transform: none;
}

.rc-mobile-break {
  display: none;
}

html.rc-motion-paused {
  scroll-behavior: auto;
}
