html {
  scroll-padding-top: 95px;
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

.c-block:first-child {
  margin-top: 109px;
}

.c-title-main span {
  font-size: clamp(32px, 9vw, 120px);
}

.media-content {
  position: relative;
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: flex-start;
  box-sizing: border-box;
  gap: 68px;
  margin-top: 50px;
  width: 100%;
  max-width: 100%;
}

.c-page,
.c-pageInner,
.c-content {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
}

.c-container {
  width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  position: relative;
  box-sizing: border-box;
}

.media-leadText {
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: -1%;
}

.c-block-inner {
  border-bottom: 1px solid #27272729;
  padding-block: 60px;
  max-width: 100%;
  overflow-x: clip;
}

.c-block-inner:first-of-type {
  padding-top: 0;
}

.c-block-inner:last-of-type {
  border-bottom: none;
}

.anchor_box {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  background-color: #fff;
  border-radius: 12px;
  flex-shrink: 0;
  width: 100%;
  height: fit-content;
  z-index: 30;
}

.anchor_list {
  background: #fff;
  border-radius: 12px;
  width: 100%;
}

.anchor_list ul {
  padding-inline: 16px;
}

.anchor_list li {
  border-bottom: #eaeaea solid 1px;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
}

.anchor_list li:last-child {
  border-bottom: none;
}

.anchor_list a {
  display: block;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #272727;
  text-decoration: none;
  background: url(../../images/media/arrow-anchor.webp) center right no-repeat; 
  padding-block: 10px 12px;
  transition: 0.3s ease-out;
}

.anchor_list a:hover,
.anchor_list a.is-current {
  background: url(../../images/media/arrow-anchor-active.webp) center right no-repeat;
  color: #fd0200;
  font-weight: 700;
  opacity: 1;
  transition: 0.3s ease-out;
}

.media-title {
  display: flex;
  align-items: center;
  font-size: 40px;
  font-weight: 700;
  gap: 0.625rem;
}

.media-title::before {
  content: "";
  display: block;
  background-image: url(../../images/media/icon-title-accent.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 28.28px;
  height: 28.28px;
}

.c-block-body {
  margin-top: 21px;
}

.media-list {
  display: grid;
  grid-template-columns: repeat( auto-fit, 258px);
  justify-content: center;
  column-gap: 15px;
  row-gap: 24px;
}

.media-listItem {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border: 1px solid #F1F1F1;
  padding: 20px 19px 16px;
  min-height: 345px;
  color: #272727;
  text-decoration: none;
}

.media-itemImg {
  width: 216px;
}

.media-itemTitle {
  font-weight: 700;
  line-height: 1.5;
  margin-top: 16px;
}

.media-itemText {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 12px;
}

.media-itemText--gray {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  letter-spacing: -5%;
  margin-top: 12px;
}

.m .c-title-main span {
  font-size: clamp(32px, 8.21vw, 120px);
}


.m .media-leadText {
  font-size: 14px;
}

.m .media-content {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 40px;
}

.m .c-block-inner {
 padding-top: 32px;
}

.m .anchor_list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  column-gap: 16px;
}

.m .media-title {
  font-size: 28px;
  justify-content: center;
}

.m .anchor_box {
  width: fit-content;
  max-width: fit-content;
  margin: 0 auto;
}

.m .media-title::before {
  width: 23px;
  height: 23px;
}

.m .anchor_list {
  border-radius: 0;
}

.m .anchor_list ul {
  display: flex;
  border-bottom: 2px solid #FD0200;
  overflow-x: scroll;
  padding: 8px 16px 4px;
}

.m .anchor_list li {
  flex-shrink: 0;
  width: fit-content;
}

.m .anchor_list li {
  border-bottom: none;
}

.m .anchor_list li:nth-of-type(odd) {
  margin-left: auto;
}

.m .anchor_list li:nth-of-type(even) {
  margin-right: auto;
}

.m .anchor_list a {
  padding-block: 6px 10px;
  background-image: none;
}


.m .media-itemTitle {
  font-size: 14px;
  margin-top: 18px;
}

.m .media-itemText {
  font-size: 12px;
}

.s .c-breadcrumb {
  gap: 13px;
}

.s .c-block-inner {
  border-bottom: none;
  padding-bottom: 40px;
}

.s .c-block-body {
  margin-top: 12px;
}

.s .media-list {
  grid-template-columns: 1fr;
  margin: 0 auto;
  width: 270px;
}

.s .media-itemImg img {
  width: 230px;
}

.s .media-listItem {
  padding: 20px;
  min-height: unset;
}