﻿:root {
  --chrome-dark: #111111;
  --chrome-light: #ffffff;
  --chrome-accent: #b7dddd;
  --chrome-accent-secondary: #bcd9c5;
  --chrome-text: #171717;
  --chrome-muted: #c8c8c3;
  --chrome-line-dark: rgba(23, 23, 23, 0.14);
  --chrome-line-light: rgba(255, 255, 255, 0.18);
}

body,
body.article-page {
  padding-top: 84px;
}

#header {
  height: 84px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--chrome-dark);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

#header .wrap {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  padding: 0 32px;
  align-items: center;
}

#header .siteTitle {
  width: 164px;
  flex: 0 0 auto;
}

#gNav {
  height: 100%;
  margin-left: auto;
  font-family:
    "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

#gNav ul {
  height: 100%;
}

#gNav li {
  height: 100%;
  display: flex;
  align-items: center;
  margin-left: 0;
  border-left: 1px solid var(--chrome-line-dark);
}

#gNav li:first-child {
  margin-left: 0;
}

#gNav a {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(10px, 1.2vw, 18px);
  border: 0;
  position: relative;
}

#gNav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 4px;
  height: 4px;
  background: transparent;
  transform: translateX(-50%);
}

#gNav a:hover,
#gNav a.active {
  color: var(--chrome-text);
  border: 0;
}

#gNav a:hover::after,
#gNav a.active::after {
  background: var(--chrome-accent);
}

#gNav a.recruit {
  width: auto;
  min-width: 124px;
  height: 100%;
  justify-content: center;
  margin-left: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--chrome-dark);
  color: var(--chrome-light);
  letter-spacing: 0.08em;
}

#gNav a.recruit::after {
  left: 20px;
  right: 20px;
  bottom: 0;
  width: auto;
  height: 3px;
  background: var(--chrome-accent);
  transform: none;
}

#gNav a.recruit:hover {
  border: 0;
  background: var(--chrome-accent);
  color: var(--chrome-dark);
  opacity: 1;
}

#footer {
  margin-top: 0;
  padding: 72px 0 26px;
  border-top: 1px solid var(--chrome-line-light);
  background: var(--chrome-dark);
  color: var(--chrome-light);
}

#footer .wrap {
  width: 100%;
  max-width: 1440px;
  padding: 0 32px;
  align-items: stretch;
}

#footer .col01 {
  width: 24%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

#footer .logo {
  width: 164px;
}

#footer .logo img {
  filter: brightness(0) invert(1);
}

#footer .data {
  margin-top: 30px;
  color: rgba(243, 241, 235, 0.68);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.footer-contact-space {
  min-height: 68px;
}

#footer .data a {
  color: var(--chrome-light);
}

#footer .col-nav {
  width: 76%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 32px;
  border-left: 1px solid var(--chrome-line-light);
}

#footer .fNav ul {
  display: grid;
  grid-template-columns: repeat(7, max-content);
  gap: 0;
  justify-content: end;
  font-size: 11px;
  line-height: 1.45;
}

#footer .fNav li {
  margin-left: 0;
  border-right: 1px solid var(--chrome-line-light);
}

#footer .fNav li:last-child {
  border-right: 0;
}

#footer .fNav a {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 10px;
  border: 0;
  position: relative;
  white-space: nowrap;
}

#footer .fNav a::after {
  content: none;
}

#footer .fNav a:hover,
#footer .fNav a.active {
  border: 0;
  background: var(--chrome-light);
  color: var(--chrome-dark);
}

#footer .copyright {
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Space Grotesk", "Noto Sans JP", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
}

#header {
  color: var(--chrome-text);
}

#gNav a:hover::after,
#gNav a.active::after {
  background: #6faeb2;
}

#gNav a.recruit:hover {
  background: var(--chrome-dark);
  color: var(--chrome-light);
  box-shadow: inset 0 -4px #eee38a;
}

#footer .data {
  color: var(--chrome-muted);
}

#footer .fNav a:hover,
#footer .fNav a.active {
  background: #242424;
  color: var(--chrome-light);
  box-shadow: inset 0 -3px var(--chrome-accent);
}

@media only screen and (max-width: 1100px) {
  body,
  body.article-page {
    padding-top: 64px;
  }

  #header {
    height: 64px;
  }

  #footer .col01 {
    width: 22%;
    min-width: 210px;
  }

  #footer .col-nav {
    width: 78%;
    padding-left: 22px;
  }

  #footer .fNav ul {
    font-size: 10px;
  }

  #footer .fNav a {
    padding: 8px 7px;
  }

  #header .wrap {
    padding: 0 20px;
  }

  #header .siteTitle {
    width: 140px;
  }

  label[for="bt-gNav"] {
    width: 44px;
    height: 44px;
    display: block;
    border-left: 1px solid var(--chrome-line-dark);
  }

  label[for="bt-gNav"] span,
  label[for="bt-gNav"]::before,
  label[for="bt-gNav"]::after {
    width: 22px;
    height: 1px;
    background: var(--chrome-dark);
  }

  label[for="bt-gNav"] span {
    top: 21px;
  }

  label[for="bt-gNav"]::before {
    top: 14px;
  }

  label[for="bt-gNav"]::after {
    top: 28px;
  }

  #bt-gNav:checked + #header label[for="bt-gNav"]::before,
  #bt-gNav:checked + #header label[for="bt-gNav"]::after {
    top: 21px;
  }

  #gNav {
    top: 64px;
    height: 0;
    background: var(--chrome-dark);
    color: var(--chrome-light);
  }

  #bt-gNav:checked + #header #gNav {
    height: calc(100vh - 64px);
  }

  #gNav ul {
    height: auto;
    padding: 22px 20px 40px;
    align-items: stretch;
  }

  #gNav li {
    width: 100%;
    height: auto;
    margin: 0;
    border-left: 0;
    border-bottom: 1px solid var(--chrome-line-light);
    text-align: left;
  }

  #gNav a {
    width: 100%;
    min-height: 58px;
    height: auto;
    justify-content: space-between;
    padding: 10px 8px;
  }

  #gNav a::after {
    content: "↗";
    position: static;
    width: auto;
    height: auto;
    color: var(--chrome-accent);
    background: none !important;
    transform: none;
  }

  #gNav a:hover,
  #gNav a.active {
    color: var(--chrome-light);
  }

  #gNav a.recruit {
    width: 100%;
    min-height: 58px;
    height: auto;
    margin: 20px 0 0;
    background: var(--chrome-accent);
    color: var(--chrome-dark);
  }

  #gNav a.recruit::after {
    content: "↗";
    position: static;
    width: auto;
    height: auto;
    color: var(--chrome-dark);
    background: none;
  }
}

@media only screen and (max-width: 768px) {
  #footer {
    padding: 52px 0 24px;
  }

  #footer .wrap {
    display: block;
    padding: 0 20px;
  }

  #footer .col01 {
    width: auto;
    min-width: 0;
    margin-bottom: 34px;
  }

  #footer .logo {
    width: 140px;
  }

  #footer .data {
    padding-top: 24px;
    border-top: 1px solid var(--chrome-line-light);
  }

  #footer .col-nav {
    width: auto;
    padding: 0;
    border-left: 0;
  }

  #footer .fNav {
    display: block;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  #footer .fNav ul {
    width: max-content;
    min-width: 0;
    grid-template-columns: repeat(7, max-content);
    justify-content: start;
    border-left: 1px solid var(--chrome-line-light);
    font-size: 11px;
  }

  #footer .fNav a {
    min-height: 64px;
    padding: 10px 12px;
  }

  .site-footer-instagram {
    display: none;
  }

  #footer .copyright {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--chrome-line-light);
    text-align: left;
  }
}
