.c-hamburger {
  width: 100%;
  height: 40px;
  display: grid;
  place-items: center;
}

.c-hamburger__wrap {
  display: block;
  cursor: pointer;
  height: 40px;
  width: 72px;
  position: relative;
  transition: background-color 0.3s var(--ease-in-out-quad);
  pointer-events: none;
}
.c-hamburger__wrap::after {
  position: absolute;
  content: "Menu";
  text-transform: uppercase;
  color: white;
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--fontFamily-raleway);
}

.c-hamburger[aria-expanded="true"] .c-hamburger__wrap::after {
  content: "閉じる";
  font-family: var(--fontFamily-noto);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.c-hamburger__line {
  background: white;
  display: inline-block;
  height: 2px;
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 16px;
  transition: transform 0.3s var(--ease-in-out-quad),
    background-color 0.3s var(--ease-in-out-quad),
    opacity 0.3s var(--ease-in-out-quad);
}

/* 通常状態：中央を基準にして3本の線を配置 */
.c-hamburger__line:nth-of-type(1) {
  top: 50%;
  transform: translateY(calc(-50% - 3px));
}

.c-hamburger__line:nth-of-type(2) {
  top: 50%;
  transform: translateY(calc(-50% + 3px));
}

.c-hamburger[aria-expanded="true"] {
  background-color: var(--color-primary);
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line {
  background: #fff;
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.c-label-category {
  padding-left: 12px;
  padding-right: 12px;
  display: grid;
  place-items: center;
  min-height: 24px;
  text-align: center;
  width: fit-content;
  border-radius: 12px;
  font-size: 12px;
  line-height: calc(24 / 12);
  letter-spacing: 0.1em;
  min-width: 74px;
  background-color: var(--color-gray);
}

@media screen and (max-width: 768px) {
  .c-label-category {
    min-width: 66px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 10px;
    min-height: 20px;
    border-radius: 10px;
    line-height: calc(20 / 10);
  }
}

.c-label-category._white {
  background-color: white;
}

.c-news-date {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: calc(32 / 14);
  font-family: var(--fontFamily-raleway);
}

@media screen and (max-width: 768px) {
  .c-news-date {
    font-size: 12px;
    line-height: calc(21 / 12);
  }
}

.c-news-date._sm {
  line-height: calc(32 / 12);
  font-size: 12px;
}

.c-heading-main {
  padding-left: 34px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .c-heading-main {
    padding-left: clamp(20px, calc(20 / 375 * 100vw), 24px);
  }
}

.c-heading-main::before {
  position: absolute;
  left: 0;
  content: "";
  width: 14px;
  background-color: var(--color-primary);
  aspect-ratio: 1/1;
  top: 9px;
  border-radius: 999em;
}
.c-heading-main._white::before {
  background-color: white;
}

@media screen and (max-width: 768px) {
  .c-heading-main::before {
    width: 10px;
    top: clamp(11px, calc(11 / 375 * 100vw), calc(11px * 1.2));
  }
}

.c-heading-main__ja {
  font-size: 30px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  line-height: calc(32 / 30);
  font-feature-settings: "palt";
}

@media screen and (max-width: 768px) {
  .c-heading-main__ja {
    line-height: calc(32 / 17);
    font-size: clamp(17px, calc(17 / 375 * 100vw), calc(17px * 1.2));
  }
}

.c-heading-main._white .c-heading-main__ja {
  color: white;
}

.c-heading-main__en {
  margin-top: 13px;
  color: var(--color-secondary);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .c-heading-main__en {
    font-size: clamp(10px, calc(10 / 375 * 100vw), calc(10px * 1.2));
    margin-top: -2px;
  }
}

.c-heading-main._white .c-heading-main__en {
  color: white;
}

.c-heading-main__en .-transform {
  text-transform: none;
}

.c-button-arrow,
.c-button-external {
  padding-top: 5px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 5px;
  display: grid;
  grid-template-columns: 9px 1fr 9px;
  column-gap: 9px;
  min-height: 50px;
  align-items: center;
  width: fit-content;
  border-radius: 25px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background-color: var(--color-primary);
  color: white;
  min-width: 220px;
  padding-left: 23px;
  padding-right: 23px;
  text-align: center;
  font-size: 15px;
  line-height: calc(32 / 15);
  transition: filter.1s ease-in;
}
.c-button-arrow:hover,
.c-button-external:hover {
  filter: saturate(1.8);
  color: white;
}
@media screen and (max-width: 768px) {
  .c-button-arrow,
  .c-button-external {
    min-height: 40px;
    min-width: 176px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 12px;
    line-height: calc(20 / 12);
  }
}

.c-button-external {
  grid-template-columns: 12px 1fr 12px;
}

.c-button-arrow._gray {
  background-color: var(--color-gray);
  color: var(--color-text);
}
.c-button-arrow._gray:hover {
  color: var(--color-text);
}

.c-button-round {
  padding-top: 5px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 5px;
  display: grid;
  place-items: center;
  min-height: 42px;
  width: fit-content;
  border-radius: 21px;
  font-weight: 700;
  font-size: 14px;
  line-height: calc(32 / 14);
  letter-spacing: 0.1em;
  transition: filter.1s ease-in;
}
.c-button-round:hover {
  filter: saturate(1.8);
}

@media screen and (max-width: 768px) {
  .c-button-round {
    min-width: 167px;
  }
}
.c-button-round._line {
  background-color: var(--color-line);
  color: white;
}
.c-button-round._primary {
  background-color: var(--color-primary);
  color: white;
}
.c-button-round._white {
  background-color: white;
  color: var(--color-primary);
}

.c-card-news__head {
  position: relative;
}

.c-card-news__category {
  position: absolute;
  top: 20px;
  left: 20px;
}
@media screen and (max-width: 768px) {
  .c-card-news__category {
    top: 10px;
    left: 10px;
  }
}

.c-card-news__body {
  padding-top: 17px;
  padding-bottom: 17px;
}

@media screen and (max-width: 768px) {
  .c-card-news__body {
    padding-top: 13px;
  }
}

.c-card-news__thumbnail {
  aspect-ratio: 416/260;
  height: auto;
  transition: opacity 0.1s ease-in;
}

.c-card-news__thumbnail:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .c-card-news__thumbnail {
    aspect-ratio: 325/203;
  }
}

.c-card-news__thumbnail .-img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.c-card-news__date {
}
.c-card-news__title {
  font-size: 17px;
  font-weight: 500;
  line-height: calc(32 / 17);
  letter-spacing: 0.2em;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .c-card-news__title {
    font-size: 14px;
    line-height: calc(24 / 14);
    margin-top: 4px;
  }
}

.c-card-news__button {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .c-card-news__button {
    margin-top: 25px;
    display: grid;
    place-items: center;
  }
}
.c-row-news {
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: 10px;
  padding-right: 10px;
  transition: opacity 0.1s ease-in;
}

.c-row-news:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .c-row-news {
    padding-top: 12px;
    padding-bottom: 20px;
  }
}

.c-row-news__link {
  display: grid;
  column-gap: 10px;
  grid-template-columns: 80px 100px 1fr 30px;
  align-items: center;
}
.c-row-news__link > *:nth-child(1) {
  align-self: flex-start;
}
.c-row-news__link > *:nth-child(2) {
  align-self: flex-start;
  padding-top: 4px;
}
@media screen and (max-width: 1024px) {
  .c-row-news__link {
    grid-template-columns: 75px 1fr 24px;
    row-gap: 6px;
  }

  .c-row-news__link > *:nth-child(1) {
    align-self: unset;
    grid-area: 1 / 1 / 2 / 2;
  }
  .c-row-news__link > *:nth-child(2) {
    align-self: unset;
    grid-area: 1 / 2 / 2 / 3;
    padding-top: unset;
  }
  .c-row-news__link > *:nth-child(3) {
    grid-area: 2 / 1 / 3 / 3;
  }
  .c-row-news__link > *:nth-child(4) {
    grid-area: 1 / 3 / 3 / 4;
    width: 24px;
  }
}

.c-row-news__title {
  font-size: 15px;
  font-weight: 500;
  line-height: calc(25 / 15);
  letter-spacing: 0.2em;
  padding-right: 30px;
}

@media screen and (max-width: 768px) {
  .c-row-news__title {
    font-size: 14px;
    padding-right: 5px;
    line-height: calc(24 / 14);
  }
}
.c-card-book__body {
  font-feature-settings: "palt";
  padding-top: 25px;
}

@media screen and (max-width: 768px) {
  .c-card-book__body {
    padding-top: 10px;
  }
}
.c-card-book__author {
  font-size: 15px;
  line-height: calc(32 / 15);
  letter-spacing: 0.2em;
}

@media screen and (max-width: 768px) {
  .c-card-book__author {
    font-size: 12px;
    line-height: calc(21 / 12);
  }
}

.c-card-book__title {
  margin-top: 14px;
  font-size: 17px;
  line-height: calc(32 / 17);
  letter-spacing: 0.2em;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .c-card-book__title {
    font-size: 14px;
    line-height: calc(24 / 14);
    margin-top: 10px;
  }
}
.c-card-book__description {
  font-size: 12px;
  line-height: calc(21 / 12);
  letter-spacing: 0.2em;
  color: #646464;
  margin-top: 25px;
}

@media screen and (max-width: 768px) {
  .c-card-book__description {
    margin-top: 10px;
  }
}
.c-card-book__button {
  display: grid;
  place-items: center;
  margin-top: 36px;
}

@media screen and (max-width: 768px) {
  .c-card-book__button {
    margin-top: 30px;
  }
}

.c-button-top {
  display: grid;
  place-items: center;
  height: 40px;
  width: 40px;
}
