:root {
  --header-h: 100px;
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
}

@media (max-width: 768px) {
  .js-scroll {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    .scroll-inner {
      width: 650px;
    }

    img {
      height: auto;
    }
  }
}

section {
  position: relative;
  margin-bottom: 1em;

  &.sec-news {
    margin-bottom: 0;
  }
  &.commons {
    margin-bottom: 2em;
  }
  .field {
    margin-bottom: 1em;
  }
}

.asterisk {
  color: #9d2f3b;
}

.grid {
  position: relative;
  display: grid;
  margin: 0 auto 1.5em;

  &.ph-2column {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }
  }

  &.ph-3column {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }
  }

  &.num-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    @media (max-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  &.list-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }
}

.ullink {
  li {
    margin-bottom: 16px;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.textblock {
  margin-bottom: 3%;

  &.is-bold {
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 600;
  }
}

.numbox {
  .num-thumb {
    border-radius: 40px;
    border: 1px solid #dedede;
    margin-bottom: 16px;

    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 10%;

    img.resimg {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      display: block;
    }
  }
}

.listbox {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background-color: #e6e6e6;
  display: block;

  &:has(+ .arrow-link) {
    margin-bottom: 30px;
  }

  @media (hover: hover) {
    transition: box-shadow 0.2s ease, transform 0.2s ease;

    &:hover {
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      transform: translateY(-1px);
    }
  }

  .post-box {
    border-radius: 20px 20px 80px 0;
  }

  .text {
    position: relative;
    margin-bottom: 0;
    padding: 14px;

    .arrow-head {
      position: relative;
      font-size: clamp(17px, 2vw, 20px);
      font-weight: 500;
      padding-right: 30px;
      line-height: 1.1;

      &:has(+ p) {
        margin-bottom: 16px;
      }

      &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 10px;
        width: 20px;
        height: 20px;
        transform: translateY(-50%);
        background: url(/soshiki_file/hiroshimaforpeace-en/global/arrow.svg)
          no-repeat;
        background-size: 20px;
      }
    }

    p {
      margin-bottom: 0;
    }
  }
}

.check-list {
  margin-bottom: 1.5em;

  li {
    position: relative;
    padding-left: 28px;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      width: 23px;
      height: 23px;
      transform: translateY(-50%);
      background: url(/soshiki_file/hiroshimaforpeace-en/global/icon-checkbox.svg)
        no-repeat;
      background-size: 23px;
    }
  }
}

.mv-slider {
  --slide-h: clamp(520px, calc(100dvh - var(--header-h)), 600px);
  position: relative;
  width: 100%;
  height: var(--slide-h);
  overflow: hidden;
}

.mv-slider .swiper,
.mv-slider .swiper-wrapper,
.mv-slider .swiper-slide {
  height: 100%;
}

.hero-split {
  --radius: clamp(80px, 10vw, 120px);
  --overlay-width: 42%;
  --pad: clamp(16px, 4vw, 48px);
  position: relative;
  height: 100%;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-photo--left {
  background-image: var(--img-left);
}

.hero-photo--right {
  background-image: var(--img-right);
}

.hero-split.is-left .hero-photo--right {
  right: 0;
  left: auto;
  width: var(--overlay-width);
}

.hero-split.is-right .hero-photo--right {
  left: 0;
  right: auto;
  width: var(--overlay-width);
}

.hero-split.is-left .hero-photo--right {
  right: 0;
  left: auto;
  width: var(--overlay-width);
}

.hero-split.is-left .hero-photo--left {
  left: 0;
  right: var(--overlay-width);
  width: calc(100% - var(--overlay-width));
}

.hero-split.is-right .hero-photo--right {
  left: 0;
  right: auto;
  width: var(--overlay-width);
}

.hero-split.is-right .hero-photo--left {
  left: var(--overlay-width);
  right: 0;
  width: calc(100% - var(--overlay-width));
}

.hero-content {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: var(--overlay-width);
  padding: var(--pad);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.title-wrap {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.hero-title {
  margin: auto 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(28px, 5vw, 56px);
}

.hero-credit {
  font-size: clamp(12px, 1.4vw, 14px);
  opacity: 0.9;
  align-self: flex-start;
}

@media (min-width: 769px) {
  .hero-split.is-left .hero-content {
    right: 0;
    left: auto;
    text-align: left;
    align-items: flex-start;
  }

  .hero-split.is-right .hero-content {
    left: 0;
    right: auto;
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .hero-media {
    position: static;
    height: 100%;
  }

  .hero-photo {
    position: static;
    width: 100%;
    background-size: cover;
    background-position: center;
  }

  .hero-photo--left {
    height: 60%;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .hero-photo--right {
    height: 40%;
    position: relative;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    overflow: hidden;
  }

  .title-wrap {
    display: contents;
  }

  .hero-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 60%;
    bottom: 0;
    width: 100%;
    padding: 20px 20px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    margin: 0;
    font-size: clamp(22px, 7vw, 36px);
    line-height: 1.3;
  }

  .hero-credit {
    position: absolute;
    top: 10px;
    left: 16px;
    margin: 0;
    font-size: 13px;
    opacity: 0.95;
  }
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  --radius: clamp(80px, 10vw, 120px);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  height: 100%;
}

.mv-grid a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.mvbox {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: #fff;
}

.mvtrim {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 1;
}

.mvbox:hover .mvtrim {
  transform: scale(1.05);
}

.overview {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.5) 100%
  );
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  z-index: 2;
  box-sizing: border-box;
}

.overview .title {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 20px;
}

.overview .title span {
  font-size: clamp(16px, 3vw, 18px);
  display: block;
}

.overview .link {
  position: relative;
  width: 70%;
  border: 1px solid #fff;
  border-radius: 4px;
  margin: 0 auto;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.overview .link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url(/soshiki_file/hiroshimaforpeace-en/global/arrow.svg) no-repeat;
  background-size: 16px;
  filter: brightness(0) invert(1);
}

@media (max-width: 960px) {
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    height: 100%;
  }

  .mvbox {
    height: 100%;
  }

  .overview {
    padding: 16px;
  }

  .overview .title {
    font-size: clamp(23px, 4vw, 40px);
    margin-bottom: 10px;
  }

  .overview .link {
    font-size: 13px;
    padding: 6px 12px;
  }
}

[class*="swiper"]:focus {
  outline: none;
}

.swiper-button-prev,
.swiper-button-next {
  display: grid;
  place-content: center;
  width: 6.4rem;
  height: 6.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.swiper-button-prev::before,
.swiper-button-next::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  border-radius: 50%;
  box-shadow: var(--box-shadow);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  width: 1.2rem;
  height: 1.2rem;
  content: "";
  border: solid var(--color-gray);
  border-width: 3px 3px 0 0;
}

.swiper-button-prev::after {
  margin-left: 0.4rem;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.swiper-button-next::after {
  margin-right: 0.4rem;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.swiper-button-disabled {
  pointer-events: none;
  opacity: 0;
}

.swiper-fade .swiper-slide {
  transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, transform !important;
  transition-property: opacity, transform, -webkit-transform !important;
  pointer-events: none;
}

.swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

.swiper-slide[class*="-active"] .slide-media img {
  transition-delay: 0s;
  transform: scale(1.05);
}

@media only screen and (min-width: 1025px) {
  .swiper-button-prev::before,
  .swiper-button-next::before {
    -webkit-transition: var(--transition);
    transition: var(--transition);
  }

  .swiper-button-prev:hover::before,
  .swiper-button-next:hover::before {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}

.swiper-wrapper {
  transition-timing-function: linear;
}

.sns-wrap {
  position: relative;
  overflow: hidden;
  padding-left: 8%;

  @media screen and (max-width: 768px) {
    padding-left: 5%;
  }
}

.sns-wrap-inner {
  background: #e6e6e6;
  border-radius: 20px 0 0 80px;
  padding: 4em 0 1em 5em;
  overflow: hidden;

  @media screen and (max-width: 768px) {
    padding: 2em 0em 1em 1em;
  }
}

.sp-snstitle {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-snstitle {
    display: initial;
    font-size: clamp(3rem, -1.923rem + 10.26vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 0.3em;
  }
}

.sns-inner {
  display: grid;
  grid-template-columns: minmax(80px, 213px) 1fr;
  gap: 40px;
  overflow: hidden;

  @media screen and (max-width: 768px) {
    grid-template-columns: minmax(60px, 120px) 1fr;
    gap: 24px;
  }

  .sns-slide {
    margin-top: 20px;
  }

  .swiper-slide {
    max-width: 180px;

    .post-square {
      border-radius: 20px;
    }
  }

  .snscard {
    .inner {
      padding: 1em 1em 2em;

      @media screen and (max-width: 768px) {
        padding: 1em 1em 1em 0;
      }
    }

    h2 {
      font-size: clamp(3rem, -1.923rem + 10.26vw, 5rem);
      font-weight: 700;
      margin-bottom: 0.3em;

      @media screen and (max-width: 768px) {
        display: none;
      }
    }

    p {
      font-size: clamp(1.4rem, 0.908rem + 1.03vw, 1.6rem);
    }
  }

  .card_inner {
    position: relative;
    overflow: visible;
    margin: 0.5em 0 1em;

    &::after {
      content: "";
      display: block;
      position: absolute;
      left: -10px;
      top: 0;
      bottom: 0;

      width: 20px;
      height: calc(100% + 10px);
      background: transparent
        linear-gradient(270deg, #e6e6e600 0%, #e6e6e6 100%) 0% 0% no-repeat
        padding-box;
      pointer-events: none;
      z-index: 5;
    }
  }

  .sns {
    gap: 60px;

    @media screen and (max-width: 768px) {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;

      a {
        width: min-content;
      }
    }
  }
}

.headings-display-2 {
  position: relative;
  font-size: clamp(3.2rem, -1.231rem + 9.23vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.8em 0;

  span {
    font-size: clamp(2.4rem, 1.464rem + 0.18vw, 3.2rem);
  }

  &:has(+ .headings-display-num),
  &:has(+ .textblock) {
    margin: 0 0 0.3em 0;
  }

  & + .textblock {
    margin-bottom: 0.7em;
  }
}

.headings-display-3 {
  position: relative;
  font-size: clamp(3rem, 0.538rem + 5.13vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1em 0;
}

.headings-catch {
  position: relative;
  font-size: clamp(2.4rem, 0.538rem + 5.13vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.4em 0;
}

.headings-display-num {
  position: relative;
  font-size: clamp(2.8rem, 0.538rem + 5.13vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0.5em 0 0.8em 0;
  padding-left: 1.6em;
  counter-increment: hdg_num;

  &::before {
    content: counter(hdg_num);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8em;
    height: 1.8em;
    border: 1px solid #000;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.7em;
    line-height: 1;
  }
}

h2.inter-display {
  position: relative;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(3rem, -1.231rem + 9.23vw, 3.8rem) !important;
  line-height: 1.1;
  margin: 0 0 1em 0;
}

.headings-display-star {
  position: relative;
  font-size: clamp(3rem, 0.538rem + 5.13vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1em 0;
  padding-left: 64px;
  word-break: break-word;
  overflow-wrap: anywhere;

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    background: url(/soshiki_file/hiroshimaforpeace-en/global/icon-star.svg)
      no-repeat;
    background-size: 54px;
  }
}

.text {
  margin-bottom: 1em;
}

.post-box {
  position: relative;
  border-radius: 20px 20px 80px 20px;
  overflow: hidden;
}

.post-img {
  overflow: hidden;

  &.years80left {
    border-radius: 20px 0 0 80px;
  }

  &.years80right {
    border-radius: 0 20px 20px 0;
  }
}

.post-trim {
  aspect-ratio: 357/232;
}

.post-square {
  aspect-ratio: 1/1;
}

.coverFit {
  object-fit: cover;
  object-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.containFit {
  object-fit: contain;
  object-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 50%;
}

.flex-content {
  position: relative;
  display: grid;
  grid-template-columns: 357px 1fr;
  gap: 50px;
  width: 100%;
  margin: 0 auto 4%;

  @media screen and (max-width: 980px) {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: initial;
  }

  &.reverse {
    grid-template-columns: 1fr 493px;

    @media screen and (max-width: 980px) {
      grid-template-columns: 1fr;
      gap: 20px;
      width: 100%;
      max-width: initial;
    }

    .flex-ph {
      order: 2;
    }

    .flex-summary {
      order: -1;
    }

    @media screen and (max-width: 980px) {
      .flex-ph {
        order: 1;
      }

      .flex-summary {
        order: 2;
      }
    }
  }

  .headings-display-2 {
    margin-bottom: 0;
  }

  .ph-caption {
    margin: 0.8em 0;
    font-size: 1.4rem;
  }

  .flex-ph {
    position: relative;

    .post_box {
      overflow: hidden;
      height: 100%;

      .flex_img {
        height: 100%;
      }

      .post_trim {
        aspect-ratio: 390/318;
        border-radius: 10px;
        height: 100%;
      }

      img {
        border-radius: 10px;
      }
    }
  }

  .flex-img {
    aspect-ratio: 357/237;
    border-radius: 20px 20px 80px 0;
    overflow: hidden;
  }

  .flex-summary {
    h2 {
      position: relative;
      font-size: clamp(3.2rem, -1.231rem + 9.23vw, 5rem);
      line-height: 1.4;
      margin: -0.3em 0 0.3em;

      @media screen and (max-width: 768px) {
        order: -1;
      }
    }

    .text {
      margin-bottom: 1.5em;

      @media screen and (max-width: 768px) {
        order: 2;
      }

      p {
        font-size: clamp(1.5rem, 1.464rem + 0.18vw, 1.6rem);
        line-height: 1.75;
        font-weight: 400;
        margin-bottom: 0.8em;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }

    .arrow-link {
      margin-bottom: 0;
    }
  }
}

.flex-program {
  position: relative;
  display: grid;
  grid-template-columns: 510px 1fr;
  gap: 50px;
  width: 100%;
  margin: 0 auto 4%;

  @media screen and (max-width: 980px) {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: initial;
    margin: 0 auto 6%;
  }

  .ph-caption {
    margin: 0.8em 0;
    font-size: 1.4rem;
  }

  .flex-ph {
    position: relative;

    .post_box {
      overflow: hidden;
      height: 100%;

      .flex_img {
        height: 100%;
      }
    }
  }

  .flex-img {
    aspect-ratio: 357/237;
    border-radius: 20px 20px 80px 0;
    overflow: hidden;
  }

  .flex-summary {
    h2 {
      position: relative;
      font-size: clamp(2.8rem, -1.231rem + 9.23vw, 3.2rem);
      font-weight: 600;
      line-height: 1.1;
      margin: 10px 0 20px;

      @media screen and (max-width: 768px) {
        order: -1;
      }
    }

    .text {
      margin-bottom: 1.5em;

      @media screen and (max-width: 768px) {
        order: 2;
      }

      p {
        font-size: clamp(1.5rem, 1.464rem + 0.18vw, 1.6rem);
        line-height: 1.75;
        font-weight: 400;
        margin-bottom: 0.8em;

        &:last-child {
          margin-bottom: 0;
        }
      }
    }

    .arrow-link {
      margin-bottom: 0;
    }
  }
}

.flex-hope {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  width: 100%;
  margin: 0 auto 4%;

  @media screen and (max-width: 980px) {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: initial;
    margin: 0 auto 6%;
  }

  &.reverse {
    grid-template-columns: 1fr 1fr;

    @media screen and (max-width: 980px) {
      grid-template-columns: 1fr;
      gap: 20px;
      width: 100%;
      max-width: initial;
    }

    .flex-ph {
      order: 2;
    }

    .flex-summary {
      order: -1;
    }

    @media screen and (max-width: 980px) {
      .flex-ph {
        order: 1;
      }

      .flex-summary {
        order: 2;
      }
    }
  }

  .flex-ph {
    position: relative;

    .post_box {
      overflow: hidden;
      height: 100%;

      .flex_img {
        height: 100%;
      }
    }
  }

  .flex-img {
    aspect-ratio: 509/246;
    overflow: hidden;
  }

  .flex-summary {
    h2 {
      @media screen and (max-width: 768px) {
        order: -1;
      }
    }

    .text {
      margin-bottom: 1.5em;

      @media screen and (max-width: 768px) {
        order: 2;
      }
    }
  }
}

.arrow-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.arrow-wrap > .arrow-link:last-child {
  grid-column: 1 / -1;
}

.arrow-link {
  position: relative;
  display: inline-block;

  padding: 0.8em 3.4em 0.8em 1em;
  font-weight: 500;
  text-decoration: none;
  outline: none;
  z-index: 1;

  border: 1px solid #000;
  border-radius: 4px;
  font-size: 1.8rem;
  width: 48%;

  @media (max-width: 768px) {
    width: 100%;
  }

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url(/soshiki_file/hiroshimaforpeace-en/global/arrow.svg)
      no-repeat;
    background-size: 20px;
  }

  &.window {
    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 10px;
      width: 20px;
      height: 20px;
      transform: translateY(-50%);
      background: url(/soshiki_file/hiroshimaforpeace-en/global/icon-window.svg)
        no-repeat;
      background-size: 20px;
    }
  }

  &.nobd {
    border: none;
    width: fit-content;
  }

  &.w50 {
    width: 50%;

    @media screen and (max-width: 768px) {
      width: 100%;
    }
  }

  &.w100 {
    width: 100%;
  }
}

.nowknow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.nowknow .nowknow-pad > * + * {
  margin-top: clamp(12px, 2.2vw, 20px);
}

.nowknow .nowknow-pad > p {
  color: #333;
  line-height: 1.9;
  font-size: clamp(14px, 1.6vw, 16px);
  margin-top: clamp(12px, 2vw, 20px);
}

.nowknow-pad {
  .post-box {
    margin-bottom: 16px;
  }

  .inner {
    max-width: 357px;

    &.is-now-left {
      margin-left: 80px;
    }
  }
}

@media screen and (max-width: 768px) {
  .nowknow {
    grid-template-columns: 1fr;
  }

  .nowknow-pad {
    .inner {
      max-width: initial;

      &.is-now-left {
        margin-left: 0;
      }
    }
  }
}

.nowknow .nowknow-pad ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (max-width: 920px) {
  .secTitle span {
    font-size: clamp(28px, 7vw, 44px);
  }
}

.block-wrap {
  position: relative;
  max-width: var(--content-width);
  display: flex;
  gap: 40px;
  margin: 1em auto 8%;

  .post-box {
    border-radius: 0 20px 80px 0;
  }

  .post-trim {
    aspect-ratio: 625/324;
  }

  .arrow-link {
    margin-top: 3em;
  }

  .box-img {
    flex: 1;
    margin-left: calc(40% - 50vw);
  }

  .box-content {
    width: 60%;
    margin-top: 1em;
  }

  &.reverse {
    flex-direction: row-reverse;

    .box_img {
      margin-left: initial;
      margin-right: calc(50% - 50vw);
    }

    .box_content {
      width: 50%;
      margin-left: 0;
      margin-right: 40px;
    }
  }
}

@media screen and (max-width: 960px) {
  .block-wrap {
    max-width: initial;
    display: block;
    margin: 1em auto 3em;

    .box-img {
      flex: initial;
      width: 95%;
      margin-left: 0;
    }

    .arrow-link {
      margin-top: 1em;
    }

    .box-content {
      width: 100%;
      margin-left: 0;
    }

    &.reverse {
      flex-direction: column-reverse;

      .box-img {
        margin-left: initial;
        margin-right: 0;
      }

      .box-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
    }
  }
}

.label {
  display: block;
}

.label-archive {
  background-color: #000;
  color: #fff;
  font-size: 16px;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 0.8em;
  padding: 6px 12px;
}

.grid-two {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto 8%;

  .is-years80 {
    overflow: hidden;
  }
}

@media screen and (max-width: 960px) {
  .grid-two {
    margin: 0 auto 4%;

    .post-trim {
      aspect-ratio: 1/1;
    }
  }
}

.section-roles {
  background: #f5f5f5;
  margin: 5% calc(50% - 50vw) 8%;
  padding: 5% calc(50vw - 50% + 8px);
}

.list-yakuwari {
  position: relative;
  width: 100%;
  margin: 5% auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  counter-reset: role_no;
  gap: 38px;
}

.yakuwari-item {
  position: relative;
  display: grid;
  place-content: center;

  border-radius: 40px;
  width: 320px;
  height: 320px;
  padding: 24px;
  text-align: center;
  counter-increment: role_no;
  aspect-ratio: 1/1;
  border: 1px solid #707070;
}

.yakuwari-item::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 9999px;
}

.yakuwari-item::before {
  content: counter(role_no);
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  background: #6f6f6f;
  color: #fff;
  font-weight: 800;
  font-size: 40px;
  z-index: 1;
}

.yakuwari-text {
  font-weight: 600;
  line-height: 1.1;
  font-size: clamp(2.6rem, 1.615rem + 2.05vw, 2.4rem);
  letter-spacing: 0.01em;
  margin-top: 2.5em;
}

.programs-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 2% auto 4%;
}

@media screen and (max-width: 960px) {
  .programs-note {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;

    margin: 2% auto 4%;
  }
}

.note-block {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 22px);
}

.note-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 44px;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1;
  font-size: clamp(16px, 1.4vw, 20px);
  white-space: nowrap;
}

.note-badge.is-domestic {
  background: #f8d000;
  color: #111;
}

.note-badge.is-overseas {
  background: #2bbbe6;
  color: #fff;
}

.note-text {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
}

@media screen and (max-width: 960px) {
  .programs-note {
    flex-wrap: wrap;
    gap: 20px;
  }

  .note-text {
    white-space: normal;
  }
}