.hero-visual {
  width: 100%;
  max-width: calc(1000px + 10%);
  height: auto;
  margin: 0;
  margin-inline: auto;
  padding-top: 150px;
  padding-left: 5%;
  padding-right: 5%;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  /*border: 1px solid var(--line);*/
  object-fit: cover;
  object-position: center;
}

main {
  max-width: calc(720px + 10%);
  margin-inline: auto;
  padding-top: 30px;
  padding-right: 5%;
  padding-bottom: 80px;
  padding-left: 5%;
}

.article-header {
  margin: 50px 0;
}

.article-title {
  margin: 0;
}

.article-credit {
  margin: 8px 0 0;
  font-size: 0.694rem;
  line-height: 1.8;
}

hr {
  margin: 0 0 60px;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-section + .article-section {
  margin-top: 68px;
}

.article-visual-placeholder {
  margin: 54px 0 56px;
}
.article-visual-placeholder img{
  width: 100%;
  height: auto;
}

article h2 {
  margin: 0 0 28px;
}

article h2 + p {
  margin-top: 0;
}

article p {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 2.15;
}

article h3,
article h4,
article h5,
article h6 {
  margin: 48px 0 18px;
}

article ul,
article ol {
  margin: 0 0 28px;
  padding-left: 1.4em;
  line-height: 2;
}

article li + li {
  margin-top: 8px;
}

article a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

article strong {
  font-weight: 500;
}

article em {
  font-style: italic;
}

article blockquote {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-left: 2px solid #8c8c8c;
  background: #f4f4f4;
}

article blockquote p {
  margin-bottom: 12px;
  line-height: 1.95;
}

article blockquote p:last-child {
  margin-bottom: 0;
}

article cite {
  display: block;
  margin-top: 8px;
  color: #464646;
  font-size: 0.833rem;
  font-style: normal;
}

article pre {
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid #d8d8d8;
  background: #f7f7f7;
  overflow-x: auto;
}

article code {
  font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.833rem;
}

article p code {
  padding: 0.2em 0.45em;
  border: 1px solid #d8d8d8;
  background: #f7f7f7;
}

article table {
  width: 100%;
  margin: 0 0 28px;
  border-collapse: collapse;
}

article th,
article td {
  padding: 10px 12px;
  border-bottom: 1px solid #d2d2d2;
  text-align: left;
  font-size: 0.95rem;
}

article thead th {
  border-bottom-width: 2px;
  font-weight: 500;
}

article figure {
  margin: 0 0 28px;
}

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

.article-swiper-wrap {
  margin: 54px 0 8px;
}

.article-swiper {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  background: #d6d6d6;
}

.article-swiper .swiper-wrapper,
.article-swiper .swiper-slide {
  height: 100%;
}

.article-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-swiper .swiper-pagination {
  bottom: 12px !important;
}

.article-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  background: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.article-swiper .swiper-pagination-bullet-active {
  background: #161616;
}

.article-swiper-prev,
.article-swiper-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  color: #fff;
}

.article-swiper-prev::after,
.article-swiper-next::after {
  font-size: 14px;
  font-weight: 600;
}

.youtube-embed {
  width: 100%;
  aspect-ratio: 560 / 315;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}

.youtube-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.author-section {
  padding: 140px 0 140px;
  background: var(--author-bg);
}

.author-wrap {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 36px;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
}

.author-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.author-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.author-content h3 {
  margin: 0 0 16px;
  font-size: 1.44rem;
  font-weight: 300;
  line-height: 1.35;
}

.author-content p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 2;
}

.author-content p.author-role {
  margin: 2px 0 10px;
  font-size: 0.833rem;
  line-height: 1.6;
}

.author-social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.author-social-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.author-social-label {
  min-width: 92px;
  color: var(--muted);
  font-size: 0.694rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-social-value {
  font-size: 0.833rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.author-social-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.author-social-link:hover,
.author-social-link:focus-visible {
  border-bottom-color: currentColor;
  opacity: 0.72;
}


.author-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 176px;
  padding: 12px 24px;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.author-button:hover,
.author-button:focus-visible {
  filter: brightness(0.97);
}

@media (max-width: 738px) {
  .hero-visual {
    padding-top: 126px;
  }

  .author-wrap {
    max-width: calc(720px + 10%);
    padding-right: 5%;
    padding-left: 5%;
  }
}

@media (max-width: 560px) {

  .hero-visual {
    padding-top: 92px;
  }

  main {
    padding-top: 18px;
    padding-bottom: 48px;
  }

  .article-header {
    margin: 28px 0;
  }

  hr {
    margin-bottom: 40px;
  }

  .article-section + .article-section {
    margin-top: 44px;
  }

  .article-visual-placeholder {
    margin: 36px 0 40px;
  }

  article h2 {
    margin-bottom: 20px;
  }

  article p {
    margin-bottom: 20px;
    line-height: 1.9;
  }

  article h3,
  article h4,
  article h5,
  article h6 {
    margin: 32px 0 14px;
  }

  article ul,
  article ol {
    margin-bottom: 20px;
  }

  article blockquote {
    margin-bottom: 20px;
    padding: 12px 14px;
  }

  article pre,
  article table,
  article figure {
    margin-bottom: 20px;
  }

  .article-swiper-wrap {
    margin: 36px 0 8px;
  }

  .author-section {
    padding: 84px 0;
  }

  .author-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .author-photo {
    max-width: 120px;
    aspect-ratio: 1 / 1;
  }

  .works-heading {
    font-size: 1.728rem;
  }
}
