/*######################################################################

    base CSS

************************************************************************/

*,
*::before,
*::after {
  box-sizing: border-box;
  min-inline-size: 0;
}

:root {
  interpolate-size: allow-keywords;
  --font-size-12: .75rem;
  --font-size-14: .875rem;
  --font-size-15: .9375rem;
  --font-size-16: 1rem;
  --font-size-18: 1.125rem;
  --font-size-21: 1.3125rem;
  --font-size-24: 1.5rem;
  --font-size-26: 1.625rem;
  --font-size-32: 2rem;
  --font-size-40: 2.5rem;
  --font-size-48: 3rem;
  --font-size-56: 3.5rem;
  --font-size-64: 4rem;
  --font-size-72: 4.5rem;
  --font-size-80: 5rem;
  --font-size-88: 5.5rem;
  --font-size-128: 8rem;
  --color-ink: #2E2E2E;
  --color-ink-white: #F1F1F1;
  --color-bg-light: #F0EFED;
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #0E0E0E;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  color: var(--color-ink);
  font-size: var(--font-size-16);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.8;
  background-color: var(--color-bg-dark);
  background-image: url(../assets/images/common/noise-bg.webp);
  background-size: 100px 100px;
  overflow-x: clip;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.error-page {
  padding-inline: 32px;
  background-color: var(--color-bg-light);
}

.error-page__inner {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 160px;
}

.error-page__code,
.error-page__title,
.error-page__text {
  margin-bottom: 24px;
}

.error-page__code {
  font-size: var(--font-size-14);
  font-weight: 700;
}

.error-page__title {
  font-size: var(--font-size-40);
}

.error-page__link {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media not all and (min-width: 768px){
  body {
    font-size: var(--font-size-14);
  }
}

:where(ul, ol) {
  list-style: none;
  list-style-type: "";
  padding: unset;
  margin: 0;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.4;
}

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

:where(:any-link, button, [type="button"], [type="reset"], [type="submit"], label[for], select, summary, [role="tab"], [role="button"]) {
  cursor: pointer;
}

:where(button, [type="button"], [type="reset"], [type="submit"]) {
  touch-action: manipulation;
}

legend,
fieldset {
  all: unset;
}

input,
button,
textarea,
select {
  font: inherit;
}

:target {
  scroll-margin-block: 5ex;
}

:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after,
  ::backdrop {
    background-attachment: scroll !important;
    transition-delay: 0s !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

strong {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

/*######################################################################

    layout

************************************************************************/


.layout {
  display: grid;
  grid-template-columns: 1fr 40%;
}

@media not all and (min-width: 1024px){
  .layout {
    grid-template-columns: 1fr;
  }
}

.layout--full {
  grid-template-columns: 1fr;
}

.layout__main {
  background-color: var(--color-bg-light);
}

/*----------------------------------------------------------------------
    site-header
------------------------------------------------------------------------*/

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 80px;
  /* spacing-exception: user-approved */
  padding-block-start: 32px;
  padding-inline: 32px;
  filter: invert(1);
  mix-blend-mode: difference;
  z-index: 1;
}

.site-header__logo {
  flex-shrink: 0;
  width: 140px;
}

.site-header__logo img {
  max-width: 100%;
}

.site-header__list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__link {
  color: var(--color-ink);
  font-size: var(--font-size-14);
  white-space: nowrap;
}

@media (any-hover: hover) {
  .site-header__link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.site-header__link:focus-visible,
.site-header__link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media not all and (min-width: 768px){
  .site-header {
    gap: 16px;
    margin-bottom: 40px;
    /* spacing-exception: user-approved */
    padding-block-start: 24px;
    padding-inline: 24px;
  }

  .site-header__logo {
    width: 128px;
  }

  .site-header__list {
    gap: 16px;
  }
}

/*----------------------------------------------------------------------
    articles（記事リスト）
------------------------------------------------------------------------*/

.articles__inner {
  padding-inline: 32px;
}

@media not all and (min-width: 768px){
  .articles__inner {
    padding-inline: 24px;
  }
}

.articles__list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.articles__list > li {
  grid-column: span 4;
}

.articles__list > li:nth-child(7n+4),
.articles__list > li:nth-child(7n+5),
.articles__list > li:nth-child(7n+6),
.articles__list > li:nth-child(7n+7) {
  grid-column: span 3;
}

@media not all and (min-width: 1024px){
  .articles__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles__list > li,
  .articles__list > li:nth-child(7n+4),
  .articles__list > li:nth-child(7n+5),
  .articles__list > li:nth-child(7n+6),
  .articles__list > li:nth-child(7n+7) {
    grid-column: span 1;
  }
}

@media not all and (min-width: 768px){
  .articles__list {
    grid-template-columns: 1fr;
  }
}

.article-card__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--color-bg-card);
  border-radius: 8px;
  overflow: clip;
}

@media not all and (min-width: 768px){
  .article-card__link {
    grid-template-columns: 1fr;
  }
}

.article-card__body {
  align-self: center;
  padding: 32px;
}

@media not all and (min-width: 768px){
  .article-card__body {
    padding: 24px;
  }
}

.article-card__title {
  font-size: var(--font-size-18);
  font-weight: 700;
  margin-bottom: 16px;
}

@media (any-hover: hover) {
  .article-card__link:hover .article-card__title {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.article-card__link:focus-visible .article-card__title {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.article-card__date,
.article-card__category {
  color: #8C8C8C;
  font-size: var(--font-size-14);
  line-height: 1.6;
}

.article-card--bento {
  height: 100%; /* fixed-height-exception: user-approved */
}

.article-card--bento .article-card__link {
  display: flex;
  flex-direction: column;
  height: 100%; /* fixed-height-exception: user-approved */
}

.article-card--bento .article-card__thumb {
  order: -1;
}

.article-card--bento .article-card__body {
  align-self: auto;
  padding: 24px;
}

/*----------------------------------------------------------------------
    post（記事ページ）
------------------------------------------------------------------------*/

.post {
  margin-bottom: -136px;
  translate: 0 -136px;
}

.post__inner {
  padding-inline: 32px;
}

@media not all and (min-width: 768px){
  .post {
    margin-bottom: -84px;
    translate: 0 -84px;
  }

  .post__inner {
    padding-inline: 24px;
  }
}

.post-hero {
  position: relative;
  isolation: isolate;
  margin-bottom: 64px;
}

.post-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 64px;
}

.post-header__title {
  order: 2;
  width: 100%;
  max-width: 800px;
  font-size: var(--font-size-40);
  font-weight: 700;
  margin-inline: auto;
  margin-bottom: 24px;
}

@media not all and (min-width: 768px){
  .post-header__title {
    font-size: var(--font-size-32);
  }
}

.post-header__meta {
  order: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}

.post-header__date,
.post-header__category {
  color: #8C8C8C;
  font-size: var(--font-size-14);
  line-height: 1.6;
}

.post-hero__thumb {
  order: 1;
  margin-inline: -32px;
  margin-bottom: 40px;
}

.post-hero__thumb img {
  width: 100%;
}

@media not all and (min-width: 768px){
  .post-hero__thumb {
    margin-inline: -24px;
  }
}

.post-body {
  max-width: 800px;
  font-size: var(--font-size-18);
  margin-inline: auto;
  margin-bottom: 96px;
}

.post-body > * {
  margin-bottom: 32px;
}

.post-body > :has(+ h2) {
  margin-bottom: 128px;
}

.post-body > :has(+ h3) {
  margin-bottom: 80px;
}

.post-body > :has(+ h4) {
  margin-bottom: 56px;
}

@media not all and (min-width: 768px){
  .post-body > :has(+ h2) {
    margin-bottom: 80px;
  }

  .post-body > :has(+ h3) {
    margin-bottom: 56px;
  }

  .post-body > :has(+ h4) {
    margin-bottom: 40px;
  }
}

.post-body > :has(+ ul),
.post-body > :has(+ ol) {
  margin-bottom: 40px;
}

.post-body > :has(+ .post-link-card) {
  margin-bottom: 48px;
}

.post-body h2 {
  font-size: var(--font-size-32);
  font-weight: 700;
}

.post-body h3 {
  font-size: var(--font-size-26);
  font-weight: 700;
  margin-bottom: 24px;
}

.post-body h4 {
  font-size: var(--font-size-21);
  font-weight: 700;
  margin-bottom: 24px;
}

@media not all and (min-width: 768px){
  .post-body {
    font-size: var(--font-size-16);
  }

  .post-body h2 {
    font-size: var(--font-size-26);
  }

  .post-body h3 {
    font-size: var(--font-size-21);
  }

  .post-body h4 {
    font-size: var(--font-size-18);
  }
}

.post-body ul,
.post-body ol {
  margin-bottom: 40px;
  padding-inline-start: 24px;
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body li:not(:last-child) {
  margin-bottom: 8px;
}

.post-body pre {
  background-color: var(--color-bg-card);
  border-radius: 8px;
  padding: 24px 32px;
  margin-block-start: 0;
  overflow-x: auto;
}

@media not all and (min-width: 768px){
  .post-body pre {
    padding: 16px 24px;
  }
}

.post-body code {
  font-size: var(--font-size-15);
  font-family: Menlo, Consolas, "Hiragino Kaku Gothic ProN", monospace;
}

@media not all and (min-width: 768px){
  .post-body code {
    font-size: var(--font-size-14);
  }
}

.post-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: var(--color-bg-card);
  border-radius: 8px;
  padding: 24px 32px;
  margin-bottom: 48px;
}

.post-link-card__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

@media (any-hover: hover) {
  .post-link-card:hover .post-link-card__text {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.post-link-card:focus-visible .post-link-card__text {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/*----------------------------------------------------------------------
    post-share / post-related（記事ページ下部）
------------------------------------------------------------------------*/

.post-share {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 96px;
}

.post-share__heading {
  font-size: var(--font-size-14);
  font-weight: 700;
}

.post-share__list {
  display: flex;
  gap: 16px;
}

.post-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  background-color: #E5E3E0;
  border-radius: 8px;
}

.post-share__link img {
  width: auto;
  height: 20px;
}

@media (any-hover: hover) {
  .post-share__link:hover {
    background-color: #D9D6D2;
  }
}

.post-share__link:focus-visible {
  background-color: #D9D6D2;
}

.post-related {
  max-width: 800px;
  margin-inline: auto;
}

.post-related__heading {
  font-size: var(--font-size-21);
  font-weight: 700;
  margin-bottom: 24px;
}

.post-related__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

/*----------------------------------------------------------------------
    post-side（記事ページのサイドバー）
------------------------------------------------------------------------*/

.layout__side-inner--post {
  display: flex;
  flex-direction: column;
}

.post-side-top {
  margin-bottom: 80px;
}

.post-side-sticky-area {
  flex: 1;
}

.post-side-sticky {
  position: sticky;
  top: 40px;
  opacity: 0;
  visibility: hidden;
  translate: 0 -8px;
  transition: opacity 0.3s, translate 0.3s, visibility 0.3s;
}

.post-side-sticky.is-active {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.post-side-info {
  margin-bottom: 40px;
}

.post-side-info__thumb {
  max-width: 240px;
  margin-bottom: 16px;
}

.post-side-info__thumb img {
  border-radius: 8px;
}

.post-side-info__title {
  color: var(--color-ink-white);
  font-size: var(--font-size-14);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
}

.post-side-info__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-side-info__date,
.post-side-info__category {
  color: #9C9C9C;
  font-size: var(--font-size-14);
  line-height: 1.6;
}

.post-side-toc__summary {
  color: var(--color-ink-white);
  font-size: var(--font-size-16);
  font-weight: 700;
  margin-bottom: 16px;
  list-style: none;
}

.post-side-toc__summary::-webkit-details-marker {
  display: none;
}

.post-side-toc::details-content {
  block-size: 0; /* fixed-height-exception: user-approved */
  opacity: 0;
  overflow: clip;
  transition: block-size 0.4s, opacity 0.3s, content-visibility 0.4s allow-discrete;
}

.post-side-toc[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.post-side-toc__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-side-toc__link {
  color: #BFBFBF;
  font-size: var(--font-size-14);
}

.post-side-toc__link.is-current {
  color: var(--color-ink-white);
  font-weight: 700;
}

@media (any-hover: hover) {
  .post-side-toc__link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.post-side-toc__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/*----------------------------------------------------------------------
    global-nav（ダーク面上）
------------------------------------------------------------------------*/

.layout__side-inner {
  height: 100%;
  padding: 32px 40px;
}

.global-nav__list {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
}

.global-nav__link {
  color: var(--color-ink-white);
  font-size: var(--font-size-14);
}

@media (any-hover: hover) {
  .global-nav__link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.global-nav__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/*----------------------------------------------------------------------
    side-widgets（サイドバー: カテゴリ・Latest）
------------------------------------------------------------------------*/

.global-nav {
  margin-bottom: 80px;
}

.side-widgets {
  position: sticky;
  top: 40px;
}

.side-heading {
  color: var(--color-ink-white);
  font-size: var(--font-size-16);
  font-weight: 700;
  margin-bottom: 16px;
}

.side-category {
  margin-bottom: 56px;
}

.side-category__list li:not(:last-child),
.side-latest__list li:not(:last-child) {
  margin-bottom: 8px;
}

.side-link {
  color: #BFBFBF;
  font-size: var(--font-size-14);
}

@media (any-hover: hover) {
  .side-link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.side-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/*----------------------------------------------------------------------
    g-nav（追従ナビ・.layout__main 内）
------------------------------------------------------------------------*/

.g-nav {
  position: fixed;
  top: 24px;
  left: 0;
  width: 60%;
  display: flex;
  justify-content: center;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  translate: 0 -8px;
  transition: opacity 0.3s, translate 0.3s, visibility 0.3s;
  pointer-events: none;
}

.g-nav.is-visible {
  visibility: visible;
  translate: 0 0;
  opacity: 1;
}

@media not all and (min-width: 1024px){
  .g-nav {
    width: 100%;
  }
}

.g-nav--default {
  width: 100%;
}

.g-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 90%;
  background-color: #1E1E1E;
  border-radius: 8px;
  padding: 12px 32px;
  pointer-events: auto;
}

@media not all and (min-width: 768px){
  .g-nav__inner {
    flex-wrap: wrap;
    gap: 0 16px;
    padding: 12px 24px;
    transition: row-gap 0.4s;
  }

  .g-nav.is-open .g-nav__inner {
    row-gap: 12px;
  }
}

.g-nav__logo {
  flex-shrink: 0;
  width: 112px;
}

.g-nav__logo img {
  filter: brightness(0) invert(1); /* photo-effect-exception: design-approved */
}

.g-nav__heading {
  color: var(--color-ink-white);
  font-size: var(--font-size-14);
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 50%;
  flex-shrink: 0;
  margin-inline-start: auto;
  text-align: right;
  transition: opacity 0.18s;
}

.g-nav__heading.is-switching {
  opacity: 0;
}

@media not all and (min-width: 768px){
  .g-nav__heading {
    flex: 1;
    text-align: center;
  }
}

.g-nav__list {
  display: flex;
  gap: 24px;
}

.g-nav__link {
  color: var(--color-ink-white);
  font-size: var(--font-size-14);
  white-space: nowrap;
}

@media (any-hover: hover) {
  .g-nav__link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.g-nav__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.g-nav--post .g-nav__nav {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.18s, opacity 0.14s 0.04s;
}

@media (min-width: 768px) {
  .g-nav--post .g-nav__inner {
    position: relative;
  }

  .g-nav--post:not(.is-expanded) .g-nav__inner {
    gap: 0;
  }

  .g-nav--post .g-nav__heading {
    transition: opacity 0.18s;
  }

  .g-nav--post .g-nav__nav {
    position: absolute;
    top: 50%;
    inset-inline-end: 32px;
    translate: 0 -50%;
    max-width: none;
    visibility: hidden;
    transition: opacity 0.18s, visibility 0s linear 0.18s;
  }
}

.g-nav--post.is-expanded .g-nav__nav {
  opacity: 1;
}

.g-nav--post.is-expanded .g-nav__heading {
  opacity: 0;
}

@media (min-width: 768px) {
  .g-nav--post.is-expanded .g-nav__nav {
    visibility: visible;
    transition: opacity 0.18s;
  }
}

@media not all and (min-width: 768px){
  .g-nav__nav,
  .g-nav--post .g-nav__nav,
  .g-nav--post.is-expanded .g-nav__nav {
    order: 10;
    width: 100%;
    max-width: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s, opacity 0.3s;
  }

  .g-nav.is-open .g-nav__nav {
    max-height: 240px;
    opacity: 1;
  }

  .g-nav--post.is-expanded .g-nav__heading {
    width: auto;
    opacity: 1;
  }

  .g-nav__list {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
}

.g-nav__toggle {
  display: none;
}

@media not all and (min-width: 768px){
  .g-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    padding: 0;
  }

  .g-nav__toggle-bar {
    width: 20px;
    height: 2px;
    background-color: var(--color-ink-white);
    transition: rotate 0.3s, translate 0.3s, opacity 0.3s;
  }

  .g-nav.is-open .g-nav__toggle-bar:nth-child(1) {
    translate: 0 7px;
    rotate: 45deg;
  }

  .g-nav.is-open .g-nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .g-nav.is-open .g-nav__toggle-bar:nth-child(3) {
    translate: 0 -7px;
    rotate: -45deg;
  }
}

/*----------------------------------------------------------------------
    site-footer
------------------------------------------------------------------------*/

.site-footer {
  padding: 40px;
}

.site-footer__credit {
  color: var(--color-ink-white);
  font-size: var(--font-size-14);
  text-align: center;
}

/*######################################################################

    about

************************************************************************/

.about-position__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 32px;
}

@media not all and (min-width: 768px){
  .about-position__inner {
    padding-inline: 24px;
  }
}

.about-position__header {
  margin-bottom: 56px;
}

@media not all and (min-width: 768px){
  .about-position__header {
    margin-bottom: 40px;
  }
}

.about-position__intro {
  margin-bottom: 96px;
}

@media not all and (min-width: 768px){
  .about-position__intro {
    margin-bottom: 72px;
  }
}

.about-position__label {
  font-size: var(--font-size-14);
  font-weight: 700;
  margin-bottom: 24px;
}

.about-position__title {
  font-size: var(--font-size-56);
  font-weight: 700;
  margin-bottom: 24px;
}

@media (min-width: 1024px) and (max-width: 1199px){
  .about-position__title {
    font-size: var(--font-size-40);
  }
}

@media not all and (min-width: 768px){
  .about-position__title {
    font-size: var(--font-size-40);
  }
}

.about-position__lead {
  font-size: var(--font-size-24);
  font-weight: 700;
}

@media not all and (min-width: 768px){
  .about-position__lead {
    font-size: var(--font-size-21);
  }
}

.about-position__body {
  margin-bottom: 120px;
}

@media not all and (min-width: 768px){
  .about-position__body {
    margin-bottom: 80px;
  }
}

.about-section__body p:not(:last-child) {
  margin-bottom: 24px;
}

.about-section:not(:last-child) {
  margin-bottom: 96px;
}

@media not all and (min-width: 768px){
  .about-section:not(:last-child) {
    margin-bottom: 72px;
  }
}

.about-section__heading {
  font-size: var(--font-size-32);
  font-weight: 700;
  margin-bottom: 32px;
}

@media not all and (min-width: 768px){
  .about-section__heading {
    font-size: var(--font-size-26);
    margin-bottom: 24px;
  }
}

.about-section__body--focus {
  margin-bottom: 40px;
}

.about-section__message {
  font-size: var(--font-size-24);
  font-weight: 700;
}

@media not all and (min-width: 768px){
  .about-section__message {
    font-size: var(--font-size-21);
  }
}

.about-focus {
  margin-bottom: 48px;
}

.about-focus dd:not(:last-child) {
  margin-bottom: 32px;
}

.about-focus dt {
  font-size: var(--font-size-18);
  font-weight: 700;
  margin-bottom: 8px;
}

/*----------------------------------------------------------------------
    profile
------------------------------------------------------------------------*/

.about-profile__label {
  font-size: var(--font-size-14);
  font-weight: 700;
  margin-bottom: 24px;
}

.about-profile__name {
  font-size: var(--font-size-32);
  font-weight: 700;
  margin-bottom: 40px;
}

@media not all and (min-width: 768px){
  .about-profile__name {
    font-size: var(--font-size-26);
    margin-bottom: 32px;
  }
}

.about-profile__body p:not(:last-child) {
  margin-bottom: 24px;
}

/*######################################################################

    contact

************************************************************************/

.contact__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 32px;
}

@media not all and (min-width: 768px){
  .contact__inner {
    padding-inline: 24px;
  }
}

.contact__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}

@media not all and (min-width: 768px){
  .contact__header {
    margin-bottom: 56px;
  }
}

.contact__label {
  order: 1;
  font-size: var(--font-size-14);
  font-weight: 700;
  margin-bottom: 24px;
}

.contact__title {
  order: 2;
  font-size: var(--font-size-56);
  font-weight: 700;
  margin-bottom: 24px;
}

@media not all and (min-width: 768px){
  .contact__title {
    font-size: var(--font-size-40);
  }
}

.contact__lead {
  font-size: var(--font-size-24);
  font-weight: 700;
  margin-bottom: 24px;
}

@media not all and (min-width: 768px){
  .contact__lead {
    font-size: var(--font-size-21);
  }
}

.contact__text {
  max-width: 672px;
}

.contact-form {
  max-width: 672px;
  margin-bottom: 120px;
}

@media not all and (min-width: 768px){
  .contact-form {
    margin-bottom: 80px;
  }
}

.contact-form__field:not(:last-of-type) {
  margin-bottom: 40px;
}

.contact-form__field:last-of-type {
  margin-bottom: 48px;
}

.contact-form__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-form__status {
  color: #595959;
  font-size: var(--font-size-14);
  font-weight: 400;
}

.contact-form__status--optional {
  color: #8C8C8C;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  color: var(--color-ink);
  background-color: var(--color-bg-card);
  border: none;
  border-radius: 8px;
  padding: 16px;
}

.contact-form__input {
  height: 56px;
}

.contact-form__textarea {
  height: 240px;
  resize: vertical;
}

.contact-form__input:focus-visible,
.contact-form__textarea:focus-visible,
.contact-form__submit:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
}

.contact-form__submit {
  color: var(--color-ink-white);
  font-weight: 700;
  background-color: var(--color-ink);
  border: none;
  border-radius: 8px;
  padding: 16px 40px;
}

@media not all and (min-width: 768px){
  .contact-form__submit {
    width: 100%;
  }
}

@media (any-hover: hover) {
  .contact-form__submit:hover {
    background-color: #454545;
  }
}
