/* Member portal chrome, aligned with the WordPress theme. */

:root {
  --main-color: #5941d0;
  --main-color-dark: #5941d0;
  --oz-color-purple: #5941d0;
  --oz-color-black: #181819;
}

body,
input,
select,
textarea {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #111;
}

body {
  background: #f5f5f5;
}

a {
  color: var(--oz-color-purple);
}

a:hover {
  color: #3d2aa8;
}

#header {
  background: #181819;
  color: #fff;
  height: 4.5em;
  line-height: 4.5em;
}

body.subpage {
  padding-top: 4.5em;
}

#header > .logo .site-mark img {
  height: 45px;
  width: 150px;
}

#header > .logo a {
  color: #fff;
  font-size: 1rem;
}

#header > .logo a:hover,
#header > a:hover {
  color: #fff;
  opacity: 0.8;
}

#header > a {
  color: #fff;
}

#menu {
  background: #181819;
}

#menu > ul.links > li:hover {
  color: #fff;
}

#menu > ul.links > li > a:not(.button):hover {
  color: #cbbfff;
}

.wrapper {
  padding: 2rem 0 2.5rem;
}

.wrapper header {
  margin-bottom: 1rem;
}

.wrapper .inner {
  width: auto;
  max-width: 52rem;
  padding: 0 1.25rem;
}

.wrapper.style1 {
  background: #f5f5f5;
}

.wrapper.style1 a,
.wrapper.style2 a {
  color: var(--oz-color-purple);
}

.wrapper.style1 a:hover,
.wrapper.style2 a:hover {
  color: #3d2aa8;
}

.wrapper.style2 {
  background: #181819;
  color: #fff;
  padding: 1.6rem 0;
}

.wrapper.style2 header {
  margin-bottom: 0;
}

.wrapper.style2 h1,
.wrapper.style2 h2,
.wrapper.style2 h3 {
  color: #fff;
  font-size: 1.35rem;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button,
.wrapper.style1 input[type="submit"],
.wrapper.style1 input[type="reset"],
.wrapper.style1 input[type="button"],
.wrapper.style1 button,
.wrapper.style1 .button {
  background-color: var(--oz-color-purple);
  color: #fff !important;
}

.box,
.table-wrapper {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 2px 2px 8px rgba(0, 0, 25, 0.08);
}

.table-wrapper {
  padding: 1.25rem 1.35rem 1.5rem;
  margin: 1.25rem 0;
}

#footer {
  background: #181819;
  color: #fff;
  padding: 0 0 5em;
  text-align: center;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

#footer a {
  color: #fff;
}

#footer::before {
  content: "";
  width: 80%;
  height: 200%;
  display: block;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: url("/wp-content/themes/frontistr-2022/images/section-bg.png") center top / 80% auto no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}

#footer > .inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: auto;
  max-width: 52rem;
  padding: 0 1.25rem;
}

#footer-navi {
  margin: 0 auto 2rem;
}

#footer-navi ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  list-style: none;
  font-size: 0.9rem;
}

#footer-navi a {
  color: #fff;
}

#footer-navi a:hover {
  color: #cbbfff;
}

#footer-logo {
  position: relative;
  z-index: 1;
}

#footer-logo dl {
  margin: 0 auto 2rem;
  line-height: 2;
}

#footer-logo dt {
  width: 250px;
  height: 75px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

#footer-logo dt a {
  display: block;
  width: 250px;
  height: 75px;
  background: url("/wp-content/themes/frontistr-2022/images/logo-white.svg") 0 0 no-repeat;
  background-size: 250px 75px;
  text-indent: -9999px;
}

#footer-logo dd {
  margin: 0;
  font-size: 0.85rem;
}

#footer-logo dd.link {
  margin-top: 0.75rem;
}

#footer-logo dd.link a {
  display: inline-block;
  padding: 1px 15px;
  background: #fff;
  color: var(--oz-color-purple);
  border: 1px solid #fff;
  border-radius: 50px;
}

#footer-logo dd.link a:hover {
  background: transparent;
  color: #fff;
}

.sns-navi {
  margin: 0 auto 2rem;
  padding: 0;
  list-style: none;
}

.sns-navi li {
  display: inline-block;
  margin: 0 12px;
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.sns-navi a {
  display: block;
  width: 40px;
  height: 40px;
  padding-top: 50px;
  background: 0 0 no-repeat;
  background-size: 40px 40px;
}

.sns-navi .sns-github {
  background-image: url("/wp-content/themes/frontistr-2022/images/ic-github.svg");
}

.sns-navi .sns-gitlab {
  background-image: url("/wp-content/themes/frontistr-2022/images/ic-gitlab.svg");
}

.sns-navi .sns-twitter {
  background-image: url("/wp-content/themes/frontistr-2022/images/ic-twitter.svg");
}

#site-info {
  display: block;
  font-size: 0.75rem;
  color: #ccc;
}

@media screen and (max-width: 800px) {
  #header {
    height: 3.5em;
    line-height: 3.5em;
  }

  body.subpage {
    padding-top: 3.5em;
  }

  #header > .logo .site-mark img {
    height: 36px;
    width: auto;
  }

  #footer-navi ul {
    display: block;
    border: 0;
    padding: 2rem 0 1rem;
  }

  #footer-navi li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  #footer-navi a {
    display: block;
    padding: 0.85em 0.4em;
    text-align: start;
  }
}
