:root {
  --bg: #f9f8f7;
  --text: #161616;
  --muted: #707070;
  --line: #cdcdcd;
  --author-bg: #efefed;
  --button-bg: #fff;
  --button-border: #bec8cf;
}

html {
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter Tight", "Noto Sans JP", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0.02em;
}

body.page-fade-in {
  opacity: 0;
  animation: pageFadeIn 0.7s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-fade-in {
    opacity: 1;
    animation: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 300;
  line-height: 1.45;
}

h1 {
  font-size: 1.728rem;
}

h2 {
  font-size: 1.44rem;
}

h3 {
  font-size: 1.44rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1.2rem;
}

figcaption,
.caption {
  font-size: 0.833rem;
}

.smallest {
  font-size: 0.694rem;
}



.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: flex;
  width: 100%;
  height: 145px;
  transition: 0.4s ease-in-out;
  /*backdrop-filter: blur(16px);*/
  /*background: rgba(137, 176, 181, 0.01);*/
}
.is-scroll_100 .site-header{
    height: 100px;
}
.site-header-inner {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 5%;
}

.site-title-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  transform: scale(1);
  transform-origin: left top;
  transition: transform 0.8s;
}

.is-scroll_100 .site-title-link {
  transform: scale(0.75);
}
.logo-link{
  aspect-ratio: 160 / 60;
  width: auto;
  height: 58px;
  transition: 0.8s;
  display: block;
}
.is-scroll_100 .logo-link{
  width: auto;
  height: 40px;
  display: block;
}
.logo-link img{
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 560px) {
  .site-header {
    height: 80px;
  }
  .is-scroll_100 .site-header {
    height: 60px;
  }
  .site-title {
    font-size: 14px;
  }
  .site-subtitle {
    font-size: 9px;
  }
  .site-header-logo {
    width: 40px;
    height: 40px;
  }
  .logo-link{
    height: 30px;
  }
  .is-scroll_100 .logo-link{
    height: 25px;
  }
}


.site-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}

.site-subtitle {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}

.site-header-logo {
  display: block;
  width: 48px;
  height: 48px;
}



.news-list-section {
  padding: 145px 5% 145px;
}

.news-list-wrap {
  max-width: 1250px;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-card {
  margin: 0;
}

.news-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-card-media {
  margin: 0 0 24px;
  background: #d6d6d6;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card-link:hover .news-card-media img,
.news-card-link:focus-visible .news-card-media img {
  transform: scale(1.03);
}

.news-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.62;
  letter-spacing: 0.02em;
  font-weight: 300;
}

.news-card-author {
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #555;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 738px) {
  .news-list-section {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 560px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .news-card-title {
    font-size: 1rem;
  }
}


.works-heading {
  margin: 0 auto 80px;
  max-width: 1250px;
  font-size: 2.074rem;
  line-height: 1.45;
}

.works-heading-lead {
  display: inline-block;
  font-size: 0.833rem;
  line-height: 1.4;
}



footer {
  padding: 18px 0 24px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.694rem;
  color: #474747;
  letter-spacing: 0.05em;
}
