html {
  font-size: 62.5%;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

[hidden] {
  display: none !important;
}

a,
button {
  cursor: pointer;
  transition: filter 0.2s ease-out;
}

a {
  color: inherit;
  text-underline-offset: 0.4rem;
}

button {
  font: inherit;
}

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

.behind-wrapper {
  min-height: 100vh;
  background: #fff;
  color: #292929;
  font: 400 1.6rem/2 "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  letter-spacing: 0.03rem;
}

.behind-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 7.2rem;
  padding: 1.4rem max(2.4rem, (100vw - 100rem) / 2);
  border-bottom: 1px solid #ededed;
  background: #fff;
}

.behind-header a {
  display: inline-flex;
  align-items: center;
}

.behind-header img {
  display: block;
  width: 14rem;
  max-width: 100%;
  height: auto;
  filter: brightness(0);
}

.behind-header span {
  color: #666;
  font-size: 1.2rem;
  white-space: nowrap;
}

.behind-header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.behind-languages {
  display: inline-flex;
  border: 1px solid #d9d9d9;
}

.behind-language-link {
  min-height: 3.2rem;
  padding: 0.3rem 0.9rem;
  color: #555;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}

.behind-language-link + .behind-language-link {
  border-left: 1px solid #d9d9d9;
}

.behind-language-link[aria-current=page] {
  background: #333;
  color: #fff;
}

.behind-main {
  width: calc(100% - 4.8rem);
  max-width: 72rem;
  min-height: calc(100vh - 23rem);
  margin: 14.4rem auto 14rem;
}

.behind-reading .behind-main {
  margin-top: 6rem;
}

.behind-eyebrow {
  margin: 0 0 1.2rem;
  color: #777;
  font-size: 1.2rem;
  letter-spacing: 0.08rem;
}

.behind-main h1 {
  margin: 0;
  color: #292929;
  font-size: clamp(2.8rem, 3vw, 3.4rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06rem;
}

.behind-divider {
  height: 1px;
  margin: 3.2rem 0 6.4rem;
  overflow: hidden;
  background: #e4e4e4;
  font-size: 0;
}

.behind-main h2 {
  margin: 0 0 2.4rem;
  color: #292929;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.7;
}

.behind-main p {
  margin: 0 0 2.4rem;
  overflow-wrap: anywhere;
}

.behind-sub,
.behind-article-lead,
.behind-placeholder {
  color: #666;
}

.behind-gate {
  max-width: 72rem;
  padding-bottom: 10rem;
}

.behind-content-heading {
  margin-bottom: 3.2rem !important;
}

.behind-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.8rem;
  margin-top: 4.8rem;
}

.behind-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-height: 5.2rem;
  padding: 1rem 1.8rem;
  border: 1px solid #333;
  background: #333;
  color: #fff;
  font-size: 1.4rem;
}

.behind-actions a,
.behind-back {
  font-size: 1.4rem;
}

.behind-back {
  padding: 0.4rem 0;
  border: 0;
  border-bottom: 1px solid #555;
  background: none;
  color: #444;
}

.behind-article-meta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: #777;
  font-size: 1.2rem;
}

.behind-article-meta span {
  font-size: 1.2rem;
}

.behind-article-header {
  padding-bottom: 3.2rem;
  border-bottom: 1px solid #e4e4e4;
}

.behind-article-header h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2.4rem, 2.5vw, 2.8rem);
}

.behind-article-lead {
  margin-bottom: 0 !important;
}

.behind-article-body section {
  margin-top: 6.4rem;
}

.behind-article-body section:first-child {
  margin-top: 3.2rem;
}

.behind-article-body h3 {
  margin: 0 0 2.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #e4e4e4;
  color: #292929;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.behind-article-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.4rem;
  margin-top: 7.2rem;
  padding-top: 2.4rem;
  border-top: 1px solid #e4e4e4;
}

.behind-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  min-height: 11rem;
  margin: 0;
  padding: 4rem max(2.4rem, (100vw - 100rem) / 2);
  background: #333;
  color: #eee;
  font-size: 1.2rem;
}

@media (hover: hover) {
  a:hover,
  button:hover {
    filter: brightness(0.92);
  }
}
@media (max-width: 767px) {
  .behind-header {
    min-height: 6.4rem;
    padding: 1.2rem 2rem;
  }
  .behind-header img {
    width: 12rem;
  }
  .behind-header-right {
    gap: 0.8rem;
  }
  .behind-header-right > span {
    display: none;
  }
  .behind-main {
    width: calc(100% - 4rem);
    min-height: calc(100vh - 16rem);
    margin: 7.2rem auto 9.6rem;
  }
  .behind-reading .behind-main {
    margin-top: 3.2rem;
  }
  .behind-divider {
    margin: 2.4rem 0 4.8rem;
  }
  .behind-gate {
    padding-bottom: 5.6rem;
  }
  .behind-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    margin-top: 4rem;
  }
  .behind-actions button {
    justify-content: space-between;
  }
  .behind-actions a {
    align-self: flex-start;
  }
  .behind-article-body section {
    margin-top: 4.8rem;
  }
  .behind-article-body section:first-child {
    margin-top: 2.4rem;
  }
  .behind-footer {
    flex-direction: column;
    gap: 1rem;
    min-height: 9rem;
    padding: 3.2rem 2rem;
  }
}
