@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --main-color: #00b8a5;
  --content-width: 1080px;
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --btnover: 0.2s ease-in;
  --radius: 10px;
  --margin: 2% auto 8%;
}

html {
  scroll-padding-top: 220px;

  @media screen and (max-width: 768px) {
    scroll-padding-top: 180px;
  }
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  color: #000;
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  counter-reset: hdg_num;
}

.page-header-IDX {
  display: none;
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.3;
}

h2 {
  font-size: 3.8rem;
  font-weight: 500;
}

h3 {
  font-size: 2.4rem;
}

p,
ul,
ol,
dl {
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

.resimg {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 2.1rem;
  }
}

main {
  overflow: hidden;
  margin-bottom: 1.5em;
}

.detail_free,
.container {
  position: relative;
  text-align: left;
  --side_margin: clamp(5%, 6vw, 7%);
  width: calc(100% - var(--side_margin) * 2);
  max-width: var(--content-width);
  margin-inline: auto;
  margin: 0 auto;
  /* padding: 1em 0; */
}

.bggray {
  background-color: #f8f8f8;
  margin-bottom: 3em;

  .container {
    margin: 0 auto;
    padding: 3em 0;
  }
}

.l-wrapper {
  position: relative;
  text-align: left;
  --side_margin: clamp(5%, 6vw, 7%);
  width: calc(100% - var(--side_margin) * 2);
  max-width: var(--content-width);
  margin-inline: auto;
  margin: 0 auto;
  padding: 1em 0;
}

.l-wrapper--s {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.l-section {
  padding: 100px 0;
}

@media screen and (max-width: 960px) {
  .l-section {
    padding: 80px 0;
  }
}

.pc-only,
.pc-content {
  display: initial;
}

.sp-only,
.sp-content {
  display: none;
}

@media screen and (max-width: 768px) {
  .l-section {
    padding: 60px 0;
  }

  .pc-only,
  .pc-content {
    display: none;
  }

  .sp-only,
  .sp-content {
    display: block;
  }
}

header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
}

.gnavi {
  font-size: 1.4rem;
  width: 100%;
  max-height: 100px;
  padding: 14px 0;

  .gnavi-wrap {
    width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
  }
}

.gnavi__logo {
  position: relative;
  display: block;
  width: 120px;
  aspect-ratio: 120/56;
  margin-top: -4px;

  .gnavi__logo_txt {
    display: none;
  }

  &::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background: url("/soshiki_file/hiroshimaforpeace-en/global/logo-main.svg")
      no-repeat center/contain;
  }

  &:hover {
    opacity: 0.8;
  }
}

.gnavi__inner {
  display: flex;
  align-items: center;
}

.gnavi__group {
  display: flex;
  align-items: center;
}

.gnavi__menu {
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  text-align: center;
  border-right: 1px solid #000;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;

  &:after {
    content: "";
    position: absolute;
    left: 0%;
    bottom: -10px;
    width: 100%;
    height: 4px;
    z-index: 1;
    background-color: var(--main-color);
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
  }

  &.highlight:after {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  &:hover:after {
    transform-origin: left top;
    transform: scale(1, 1);
  }
}

.lang {
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-left: 10px;

  a {
    display: inline-block;
    text-align: center;
    width: 26px;
    line-height: 24px;
    border: 1px solid #fff;

    &:hover,
    &.current {
      border: 1px solid #000;
    }
  }
}

.humberger {
  width: 38px;
  height: 32px;
  position: fixed;
  top: 18px;
  right: 3%;
  cursor: pointer;
  display: none;
  z-index: 120;

  span {
    display: inline-block;
    width: 100%;
    height: 5px;
    background: #000;
    position: absolute;
    left: 0;
    transition: 0.2s ease-in;
  }

  span:nth-child(1) {
    top: 0;
  }

  span:nth-child(2) {
    top: calc(50% - 3px);
  }

  span:nth-child(3) {
    bottom: 0;
  }

  &.close {
    span:nth-child(1) {
      transform: rotate(-45deg);
      top: calc(50% - 3px);
    }

    span:nth-child(2) {
      transform: scale(0, 1);
    }

    span:nth-child(3) {
      transform: rotate(45deg);
      top: calc(50% - 3px);
    }
  }
}

.spnavi {
  position: fixed;
  inset: 0;
  max-width: 500px;
  background: #fff;
  padding: 60px 10px 60px;
  transform: translateX(-100%);
  transition: 0.2s ease-in;
  z-index: 90;
  overflow-y: scroll;

  &.show {
    transform: translateX(0);
  }
}

.spnavi__top {
  font-weight: bold;
  border-bottom: 1px solid #bdbdbd;

  a {
    display: block;
    padding: 15px;
  }
}

.spnavi__item {
  border-bottom: 1px solid #bdbdbd;

  summary {
    display: flex;
    align-items: center;
    padding: 15px;
    padding-right: 40px;
    font-weight: 600;
    position: relative;

    &::after {
      content: "";
      display: inline-block;
      width: 8px;
      height: 8px;
      border-bottom: 1px solid #000;
      border-right: 1px solid #000;
      transform: rotate(45deg);
      position: absolute;
      right: 20px;
      top: calc(50% - 4px);
      transition: 0.2s;
    }
  }

  &[open] {
    .spnavi__child {
      border-top: 1px solid #bdbdbd;
    }

    summary::after {
      transform: rotate(225deg);
    }
  }
}

.spnavi__stamp {
  display: inline-block;
  width: 50px;
  aspect-ratio: 1 / 1;
  background: no-repeat center / contain;
  flex-shrink: 0;
  margin-right: 15px;
}

.spnavi__child,
.spnavi__under {
  padding: 0;
}

.spnavi__child li {
  padding-left: 1em;
}

.spnaviItem {
  font-size: 1.4rem;

  &:not(:first-child) {
    border-top: 1px solid #bdbdbd;
  }

  a {
    display: block;
    padding: 1em;
  }
}

.spnavi__under {
  .fnaviItem:first-child {
    border-top: 1px solid #bdbdbd;
  }

  .fnaviItem:last-child {
    border-bottom: 1px solid #bdbdbd;
  }
}

@media screen and (max-width: 1185px) {
  .gnavi__group {
    padding: 20px 5px;
  }

  .gnavi__menu {
    padding: 0 10px;
  }
}

@media screen and (max-width: 1080px) {
  .gnavi__menu,
  .gnavi__group {
    display: none;
  }

  .gnavi {
    display: flex;
    justify-content: space-between;
    padding: 10px 80px 10px 3%;

    &::before {
      height: 20px;
    }
  }

  .lang {
    font-size: 1.4rem;
    flex-direction: row;
    margin: 0;

    a {
      width: 32px;
      line-height: 32px;
    }
  }

  .humberger {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .gnavi {
    padding: 10px 65px 10px 3%;
  }

  .gnavi__logo {
    width: 100px;
  }

  .humberger {
    top: 10px;
  }
}

.titleBox {
  position: relative;
  margin-bottom: 40px;

  @media screen and (max-width: 768px) {
    margin-bottom: 30px;
  }
}

.titleBox--flex {
  display: flex;
  column-gap: 50px;
  row-gap: 20px;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
}

.titleBox__stamp {
  display: inline-block;
  width: 150px;
  aspect-ratio: 1/1;
  background: no-repeat center/contain;
  position: absolute;
  left: 0;
  bottom: 0;
}

.secTitle {
  span {
    display: inline-block;
    padding: 10px 20px 12px 20px;
    position: relative;
    font-size: clamp(3rem, -1.923rem + 10.26vw, 5rem);
    font-weight: 700;
  }
}

@media screen and (max-width: 768px) {
  .titleBox--flex {
    flex-direction: column;
  }

  .titleBox__stamp {
    width: 100px;
    bottom: auto;
    top: 0;
    transform: translateY(-50%);
  }
}

.btn-more {
  text-align: left;
  font-weight: bold;
  display: inline-block;
  width: 140px;
  background: var(--main-color);
  color: #fff;
  border-radius: 8px;
  padding: 0.8em 1em;
  position: relative;

  &::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    right: 20px;
    top: calc(50% - 4px);
  }

  &:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 500px) {
  .mv {
    margin-top: 5vw;
  }
}

.sec-message {
  .sec-message__inner {
    position: relative;
    padding-top: 65px;
    margin-bottom: 30px;
  }

  .sec-message__content {
    position: relative;

    .catch {
      text-align: center;

      h2 {
        font-size: clamp(3.2rem, -2.708rem + 12.31vw, 5.6rem);
        font-weight: 700;
        line-height: 1.2;
        display: inline-block;
        border-bottom: 1px solid #000;
        margin: 0 auto 20px;
        padding-bottom: 16px;
        letter-spacing: -0.08em;
      }
    }

    p {
      text-align: center;
      font-size: clamp(1.8rem, 1.308rem + 1.03vw, 2rem);
    }
  }
}

@media screen and (max-width: 768px) {
  .sec-message {
    .sec-message__inner {
      position: relative;
      padding-top: 32px;
      margin-bottom: 20px;
    }

    .sec-message__content {
      width: 100%;
      max-width: initial;
      margin: 0 auto;

      p {
        text-align: left;
      }
    }
  }
}

.sec-news {
  .secTitle {
    text-align: center;
  }
}

.newsItem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(346px, 1fr));
  gap: 20px;

  @media screen and (max-width: 768px) {
    gap: 10px;
  }
}

.newsItem {
  border: 1px solid #aaaaaa;
  border-radius: 10px;
  padding: 1.2em 2em;
}

.newsItem__ttl {
  font-size: 1.6rem;
  font-weight: 400;

  &:hover {
    color: var(--main-color);
    text-decoration: underline;
  }
}

.newsItem__date {
  font-size: 1.5rem;
}

.newsBtn {
  text-align: center;
  margin-top: 30px;
}

@media screen and (max-width: 960px) {
  .newsItem {
    flex-wrap: wrap;
    padding: 1.5em;
  }

  .newsItem__ttl {
    font-size: 1.6rem;
    width: 100%;
    margin-bottom: 10px;
  }
}

.sec-reconstruction {
  background: #f7edee;
  position: relative;
  overflow: hidden;

  .titleBox--flex {
    margin-top: 50px;
  }
}

.sec-reconstruction__bg {
  display: block;
  height: 100%;
  aspect-ratio: 1200/1049;
  background: no-repeat center/cover;
  position: absolute;
  left: 0;
  top: 0;
}

.cardList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  &.column3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cardItem {
  color: #fff;
  background: no-repeat center/cover;
  border-radius: 14px;
  overflow: hidden;
}

#card-atomic-bombing {
  br {
    display: none;
  }
}

.cardItem__link {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 36 / 23;
  transition: 0.2s;

  &:hover {
    backdrop-filter: brightness(0.9);

    .cardItem__ttl {
      &::after {
        right: 14px;
      }
    }
  }
}

.cardItem {
  .cardItem__link {
    aspect-ratio: 660/421;
  }

  .wide .cardItem__link {
    aspect-ratio: 49/23;
  }
}

.cardItem__ttl {
  width: 100%;
  background: rgba(157, 47, 59, 0.85);
  padding: 15px 30px 18px 20px;
  position: relative;

  h3,
  h4 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.4rem;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 6px;
  }

  &::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    right: 17px;
    top: calc(50% - 4px);
    transition: 0.2s;
  }
}

@media screen and (max-width: 768px) {
  .cardList {
    display: flex;
    flex-direction: column;

    &.swiper-wrapper {
      gap: 0;
      flex-direction: row;
    }
  }

  .cardItem {
    border-radius: 10px;
  }

  .sec-reconstruction {
    .titleBox--flex {
      margin-top: 0;
    }
  }

  .sec-reconstruction__bg {
    height: 70%;
    top: 10%;
  }

  .cardItem__ttl {
    padding: 10px 30px 14px 20px;

    h3,
    h4 {
      font-size: 1.6rem;
    }
  }

  #card-global-peace {
    br {
      display: none;
    }
  }
}

.sec-status {
  .titleBox--flex {
    padding-left: 120px;
    margin-bottom: 60px;
  }

  .titleBox__stamp {
    transform: translateY(40px);
  }
}

.sec-status__inner {
  position: relative;
}

.sec-status__deco {
  display: inline-block;
  width: 15%;
  min-width: 120px;
  aspect-ratio: 71/96;
  background: no-repeat center/contain;
  position: absolute;
  top: 0;
  right: 5%;
  transform: translateY(-70%);
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .sec-status {
    .titleBox--flex {
      padding: 0;
      margin-top: 30px;
    }

    .titleBox__stamp {
      transform: translateY(-60%);
      left: 26px;
    }
  }

  .sec-status__deco {
    right: -5%;
  }
}

.sec-hope {
  background: #f7edee;
  position: relative;

  .titleBox--flex {
    margin-top: 50px;
  }

  .titleBox__stamp {
    bottom: 30%;
  }
}

.sec-hope__deco {
  display: inline-block;
  width: 15%;
  min-width: 140px;
  aspect-ratio: 73/51;
  background: no-repeat center/contain;
  position: absolute;
  top: 0;
  left: 5%;
  transform: translate(0, -40%);
}

.sec-hope__bg {
  display: block;
  height: 100%;
  aspect-ratio: 1145/1436;
  background: no-repeat center/cover;
  position: absolute;
  right: 0;
  top: 0;
}

@media screen and (max-width: 768px) {
  .sec-hope__deco {
    left: 0;
  }
}

.sec-actors {
  .titleBox--flex {
    padding-left: 90px;
    margin-top: 50px;
  }

  .titleBox__stamp {
    transform: translate(-20px);
  }
}

.sec-actors__deco {
  display: inline-block;
  width: 20%;
  min-width: 130px;
  aspect-ratio: 123/148;
  background: no-repeat center/contain;
  position: absolute;
  top: 0;
  right: 5%;
  transform: translateY(-100%);
}

@media screen and (max-width: 768px) {
  .sec-actors {
    .titleBox--flex {
      padding: 0;
    }

    .titleBox__stamp {
      top: -50%;
      left: 5%;
    }
  }
}

.sec-action {
  overflow: hidden;
  position: relative;
  background: #fff9e2;

  .titleBox--flex {
    margin-bottom: 50px;
    padding-left: 120px;
  }

  .titleBox__stamp {
    transform: translateY(40px);
  }
}

.sec-action__bg {
  display: block;
  height: 65%;
  aspect-ratio: 2400/1601;
  background: no-repeat center/cover;
  position: absolute;
  left: 0;
  top: 0;
}

.sec-action__head {
  width: 72%;
  margin: 0 auto;
}

.sec-action__lead {
}

.sec-action__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sec-action__ttl {
  grid-column: span 2;
  align-self: center;

  p {
    margin-bottom: 0.5em;
  }
}

.pickup {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 120px;
  padding-bottom: 50px;
}

.pickup__ttl {
  width: 25%;

  p {
    margin-bottom: 0.5em;
  }
}

.pickup__sub_flex {
  width: 70%;
  display: flex;
  justify-content: space-between;
}

.pickup__post {
  width: 49%;
}

.pickup__deco {
  display: inline-block;
  width: 24%;
  min-width: 140px;
  aspect-ratio: 486/437;
  background: no-repeat center/contain;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-70%);
}

@media screen and (max-width: 960px) {
  .pickup__ttl {
    width: 100%;
  }

  .pickup__post {
    width: 100%;
    margin-top: 20px;
  }

  .sec-action__content {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .sec-action {
    .titleBox--flex {
      margin-bottom: 40px;
      padding-left: 0;
    }

    .titleBox__stamp {
      transform: translateY(-50%);
    }
  }

  .sec-action__bg {
    height: 30%;
  }

  .sec-action__head {
    width: 100%;
  }

  .sec-action__ttl {
    margin: 30px 0;
  }

  .pickup {
    margin-left: 0;
  }

  .pickup__deco {
    transform: translateX(0);
  }
}

.page-header {
  --content-width: 1080px;
  --r: clamp(60px, 10cqw, 120px);
  --gutter: clamp(16px, 2.5vw, 32px);
  --left-pc: 60%;
  --right-pc: calc(100% - var(--left-pc));
  --h-max: 350px;
  color: #fff;
  margin-bottom: 2%;

  .page-header__inner {
    min-height: clamp(240px, 36vw, var(--h-max));
    display: flex;
    overflow: hidden;
    border-radius: 0 0 var(--r) var(--r);
  }

  .page-header__ttl,
  .page-header__thumb {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .page-header__ttl {
    background: url("/soshiki_file/hiroshimaforpeace-en/index/swi-bg50.jpg")
      center/cover no-repeat;
    width: var(--left-pc);
    display: flex;
    align-items: center;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .page-header__ttl h1 {
    color: #fff;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    font-size: min(3.3vw, 4.8rem);
    width: min(var(--content-width), 100%);
    text-align: left;

    .arc {
      display: block;
      margin-bottom: 0.6em;

      span {
        font-size: 1.7rem;
        font-weight: 400;
        display: inline-block;
        border: 1px solid #fff;
        padding: 4px 18px;
      }
    }

    .des {
      font-size: clamp(1.6rem, 0.123rem + 3.08vw, 2.2rem);
      font-family: "Inter", sans-serif;
      font-optical-sizing: auto;
      font-weight: 600;
      font-style: normal;
      line-height: 1;
      display: block;
      margin-top: 0.5em;
    }

    span {
      font-size: clamp(1.6rem, 0.123rem + 3.08vw, 2.2rem);
      font-weight: 600;
      display: block;
    }
  }

  .page-header__thumb {
    background-image: var(--img-right, none);
    width: var(--right-pc);
  }

  &[style*="--img-right"] {
    .page-header__ttl {
      width: var(--left-pc);
    }

    .page-header__thumb {
      display: block;
      width: var(--right-pc);
      min-height: clamp(160px, 34vh, calc(var(--h-max) - 40px));
    }
  }

  &:not([style*="--img-right"]) {
    .page-header__thumb {
      display: none !important;
    }

    .page-header__ttl {
      width: 100%;
      background: url("/soshiki_file/hiroshimaforpeace-en/index/swi-bg100.jpg")
        center/cover no-repeat;
      min-height: var(--h-max);
    }

    .page-header__ttl h2 {
      text-align: center;
    }
  }

  &.is-round-both .page-header__inner {
    border-radius: 0 0 var(--r) var(--r);
  }

  &.is-round-left .page-header__inner {
    border-radius: 0 0 0 var(--r);
  }

  &.is-round-right .page-header__inner {
    border-radius: 0 0 var(--r) 0;
  }

  @media (min-width: 1200px) {
    .page-header__ttl {
      padding-left: calc((100vw - var(--content-width)) / 2 + var(--gutter));
      padding-right: var(--gutter);
    }
  }

  @media (max-width: 768px) {
    --left-pc: 100%;
    --right-pc: 100%;
    --sp-gutter: clamp(16px, 5vw, 24px);
    --sp-title-size: clamp(2.6rem, 8vw, 3.8rem);
    --sp-title-size-alone: clamp(2.8rem, 9vw, 4.2rem);
    --sp-title-lh: 1.15;

    .page-header__inner {
      display: block;
      overflow: hidden;
      min-height: clamp(240px, 60vh, var(--h-max));
    }

    .page-header__ttl,
    .page-header__thumb {
      width: 100%;
      background-position: center;
      background-size: cover;
    }

    &[style*="--img-right"] {
      .page-header__ttl {
        min-height: clamp(200px, 25vh, var(--h-max));
        display: grid;
        place-items: center;
        padding: 0 var(--sp-gutter);
      }

      .page-header__ttl h1 {
        width: 100%;
        max-width: var(--content-width);
        margin: 0;
        font-size: var(--sp-title-size);
        line-height: var(--sp-title-lh);
        letter-spacing: 0.01em;
      }

      .page-header__thumb {
        min-height: clamp(150px, 22vh, calc(var(--h-max) - 60px));
        display: block;
      }
    }

    &:not([style*="--img-right"]) {
      .page-header__thumb {
        display: none !important;
      }

      .page-header__ttl {
        width: 100%;
        min-height: clamp(220px, 60vh, var(--h-max));
        display: grid;
        place-items: center;
        padding: 0 var(--sp-gutter);
        background: url("/soshiki_file/hiroshimaforpeace-en/index/swi-bg100.jpg")
          center/cover no-repeat;
      }

      .page-header__ttl h1 {
        width: 100%;
        max-width: var(--content-width);
        margin: 0;
        text-align: center;
        font-size: var(--sp-title-size-alone);
        line-height: var(--sp-title-lh);
        letter-spacing: 0.01em;
      }
    }
  }
}

.archiveBody {
  position: relative;
  overflow: hidden;

  &.sec-action {
    background: #fff;
  }

  .pickup {
    padding-top: 50px;
  }
}

.detail_free {
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 0.5em;
  }

  h3.sift_style {
    font-size: 2.4rem;
    padding-left: 0px;
    border-left: 0;
  }

  h2 + h3,
  h3 + h4,
  h4 + h5,
  h5 + h6 {
    margin-top: 0;
  }
  p {
    margin-bottom: 1em;
  }

  h2 {
    font-weight: 700;
    font-size: 3.4rem;
  }

  h3 {
    font-size: 2.4rem;
  }

  h4 {
    font-size: 2.1rem;
  }

  h4.sift_style {
    font-size: 2.1rem;
  }

  h5 {
    font-size: 1.8rem;
  }

  h5.sift_style {
    font-size: 1.8rem;
  }

  h6 {
    font-size: 1.6rem;
  }

  h6.sift_style {
    font-size: 1.6rem;
  }

  a {
    text-decoration: underline;
    color: #008577;

    &:hover {
      opacity: 0.8;
    }
  }

  a:not([href]) {
    text-decoration: none !important;
    color: #000 !important;
    cursor: text;

    &:hover {
      opacity: 1 !important;
    }
  }

  ul {
    list-style: inside disc;
    margin-bottom: 1em;
  }

  ol {
    list-style: inside decimal;
    margin-bottom: 1em;

    li::marker {
      margin-right: 8px;
    }
  }

  li + li {
    margin-top: 8px;
  }

  table {
    margin-bottom: 1em;
  }

  caption {
    font-weight: bold;
    margin-bottom: 10px;
  }

  th,
  td {
    border: 1px solid #bdbdbd;
    padding: 1em;
  }

  th {
    background: #f5f5f5;
  }

  img {
    width: 70% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 20px 20px 80px 0;
    overflow: hidden;
  }
}

@media screen and (max-width: 768px) {
  .detail_free {
    margin: 60px auto;

    h2,
    h3 {
      font-size: 2.6rem;
    }

    h3.sift_style {
      font-size: 2.1rem;
    }

    h4 {
      font-size: 2.1rem;
    }

    h4.sift_style {
      font-size: 1.8rem;
    }

    h5 {
      font-size: 1.8rem;
    }

    h5.sift_style {
      font-size: 1.6rem;
    }

    h6 {
      font-size: 1.6rem;
    }

    h6.sift_style {
      font-size: 1.4rem;
    }

    table {
      overflow-x: scroll;
      display: block;
    }

    th,
    td {
      min-width: 8em;
    }

    img {
      width: 100% !important;
      height: auto !important;
    }
  }
}

.btn-top {
  display: inline-block;
  width: 35px;
  aspect-ratio: 1/1;
  border-radius: 9999px;
  position: fixed;
  bottom: 2%;
  right: 2%;
  z-index: 100;
  transition: 0.2s;

  &:hover {
    opacity: 0.8;
    transform: translateY(-3px);
  }
}

footer {
  &.common-area {
    background-color: #f8f8f8;
    border-radius: 120px 120px 0 0;
  }

  .footer-inner {
    position: relative;
    text-align: left;
    width: calc(100% - 10%);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 3em 0 1.2em;
    display: grid;
    grid-template-columns: 540px 1fr;
    gap: 30px 60px;

    .footer-logo {
      width: 204px;
      height: 95px;
      margin-bottom: 20px;
    }

    .footer_add {
      margin-bottom: 1.5em;

      .add {
        font-size: 1.4rem;
        line-height: 1.5;
      }
    }

    .footer-nav {
      border-left: 1px solid #000;
      padding-left: 20px;

      li {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 0.8em;
      }
    }

    .ftlink {
      display: flex;
      align-items: center;
      gap: 18px;
      margin-top: 16px;

      li {
        border-right: 1px solid #bdbdbd;
        font-size: 1.2rem;
        padding-right: 1em;

        &:last-child {
          border: none;
          padding-right: 0;
        }

        a {
          transition: var(--transition);
        }
      }
    }
  }

  .copyright-area {
    width: 100%;
    border-top: 1px solid #000;

    .copyright {
      width: calc(100% - 10%);
      max-width: var(--content-width);
      margin: 0 auto;
      padding: 1em 0;
      color: #707070;
      font-size: 1.2rem;
    }
  }
}

.sns {
  display: flex;
  align-items: center;
  gap: 40px;

  a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    padding-right: 54px;
    white-space: nowrap;
    font-size: clamp(1.4rem, 0.908rem + 1.03vw, 1.6rem);

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 0;
      width: 16px;
      height: 16px;
      transform: translateY(-50%);
      background: url(/soshiki_file/hiroshimaforpeace-en/global/arrow.svg)
        no-repeat;
      background-size: 16px;
    }

    span {
      font-weight: 500;
    }
  }
}

.ft-bnr-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
  }

  .ft-bnr {
    height: 100%;
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(76px, 12vw, 96px);
    padding: 12px 56px 12px 20px;
    border: 1px solid #707070;
    border-radius: 8px;
    text-decoration: none;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 12px;
      width: 18px;
      height: 18px;
      transform: translateY(-50%);
      background: url(/soshiki_file/hiroshimaforpeace-en/global/arrow.svg)
        no-repeat center/18px 18px;
      pointer-events: none;
    }

    figure {
      display: grid;
      grid-template-columns: 1fr;
      grid-auto-rows: auto;
      row-gap: 8px;
      align-items: start;
      justify-items: start;
      margin: 0;

      figcaption {
        font-size: clamp(1.4rem, 0.908rem + 1.03vw, 1.6rem);
        font-weight: 500;
        line-height: 1.25;
        text-wrap: balance;
        white-space: nowrap;

        @supports not (text-wrap: balance) {
          word-break: keep-all;
        }
      }
    }

    @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);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      transition: none;
    }
  }
}

@media screen and (max-width: 1080px) {
  footer {
    &.common-area {
      border-radius: 80px 80px 0 0;
    }

    .footer-inner {
      position: relative;
      max-width: initial;
      margin: 0 auto;
      padding: 3em 0 1em;
      display: block;

      .footer-logo {
        width: 160px;
        height: auto;
        margin-bottom: 20px;
      }

      .footer_add {
        margin-bottom: 1.5em;

        .add {
          font-size: 1.4rem;
          line-height: 1.5;
        }
      }

      .footer-nav,
      .footer-link {
        display: none;
      }

      .ftlink {
        display: none;
      }

      .sns {
        display: none;
      }
    }

    .copyright-area {
      .copyright {
        max-width: initial;
      }
    }
  }

  .ft-bnr-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;

    .ft-bnr {
      position: relative;

      figure {
        &::after {
          width: 14px;
          height: 14px;
          background-size: 14px;
        }
      }
    }
  }
}

.cvs_hide#conversion_link {
  padding-right: 10px;
}

#conversion_link {
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #b8e0dc;
  padding: 10px;
  padding-right: 60px;
  border-radius: 5px 0 0 0;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

.cvs_hide#conversion_link > a {
  display: none;
}

#conversion_link > a {
  display: block;
  background: #00b9a5;
  padding: 10px 50px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.cvs_hide #cvs_sw {
  position: static;
  background-image: url(/soshiki_file/hiroshimaforpeace/global/cvs-open.svg);
}

#cvs_sw {
  display: block;
  position: absolute;
  right: 10px;
  top: 10px;
  margin: 0;
  padding: 20px 1em;
  background: #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  width: 5em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  border: none;
  text-align: left;
  text-indent: -9999em;
  overflow: hidden;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
  background-image: url(/soshiki_file/hiroshimaforpeace/global/cvs-close.svg);
}

.boxes-download {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: grid;
  grid-template-columns: 134px 1fr;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  border: 1px solid #000;
  margin: 6% auto;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);

  @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);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }

  .flex_img {
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    aspect-ratio: 1/1;

    &.contain {
      background-size: auto 80%;
      background-color: #f5f5f5;
    }
  }

  .flex_container {
    position: relative;
    padding: 1em 4.2em 1em 0.5em;

    .text {
      margin-bottom: 0;

      p {
        font-size: clamp(1.5rem, 0.123rem + 3.08vw, 2.2rem);
        font-weight: 500;
        margin-bottom: 0;
      }
    }

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 20px;
      width: 44px;
      height: 48px;
      transform: translateY(-50%);
      background: url(/soshiki_file/hiroshimaforpeace-en/global/icon-list.svg)
        no-repeat;
      background-size: 32px;
    }
  }
}

@media screen and (max-width: 1080px) {
  .boxes-download {
    position: relative;
    width: 100%;
    max-width: initial;

    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border: 1px solid #707070;
    margin: 6% auto;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);

    .flex_img {
      height: 100%;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: 50% 50%;
      aspect-ratio: 1/1;
    }

    .flex_container {
      position: relative;
      padding: 1em 54px 1em 1.5em;

      .text {
        p {
          font-size: 1.6rem;
          line-height: 1.2;
        }
      }

      &::after {
        right: 20px;
        width: 23px;
        height: 30px;
        background-size: 23px;
      }
    }

    &:hover {
      opacity: 0.8;
    }
  }
}

.detail_html {
  iframe {
    width: 756px;
    height: 425px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .detail_html {
    iframe {
      width: 90%;
      height: auto;
      aspect-ratio: 560 / 315;
      margin-bottom: 20px;
    }
  }
}