@charset "UTF-8";

/* ====================================
	共通スタイル
==================================== */
.section {
  margin-bottom: 4rem;
  border-bottom: 1px dashed var(--light-gray);
  padding-bottom: 4rem;
}

.no-border {
  border-bottom: none;
  padding-bottom: 0;
}

/* タイトル */
.founder-intro {
  margin-bottom: 7rem;
}

/* 写真と音でつづる */
.founder__main-title {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4rem;
}

/* 年代タイトル */
.era-heading {
  position: relative;
  background-color: var(--white-gray);
  padding: 1rem 1rem 1rem 3.4rem;
  margin-bottom: 3rem;
}

.era-heading::before {
  content: "";
  position: absolute;
  height: 74%;
  width: 8px;
  left: 1rem;
  top: 50%;
  transform: translateX(50%) translateY(-50%);
  background-color: var(--sharp-red);
}

.era-range {
  font-size: 1.8rem;
  font-weight: 600;
}

.era-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
}

.era-card__wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
  /* grid-auto-rows: 1fr; */
}

.era-card__wrapper:last-child {
  margin-bottom: 0;
}

.era-card {
  display: flex;
  align-items: stretch;
}

.era-card__img {
  flex: 0 0 45%;
}

.era-card__img img {
  width: 100%;
  height: auto;
}

.era-card__text {
  padding-inline: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.era-card__range {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.era-card__title {
  font-size: 1.4rem;
  text-decoration-line: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  margin-bottom: 1.2rem;
}

/* 音声ありタグ */
.audio-tug {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: var(--light-gray);
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  font-size: 1.4rem;
  line-height: 1.4;
}

.audio-tug::after {
  content: "";
  display: inline-block;
  height: 1.5rem;
  width: 2.2rem;
  margin-left: .4rem;
  background: url("images/icon-audio.svg") no-repeat center/contain;
}

/* 映像でつづる */
.founder-video__wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.founder-video {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 4rem;
}

.video-caption {
  text-align: center;
  font-size: 1.4rem;
}

.video-caption a {
  text-decoration: underline;
}

/* 漫画で見る */
.founder-comic__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.founder-comic__box {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  border-bottom: 1px dashed var(--light-gray);
  padding-bottom: 4rem;
}

.founder-comic__box:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.founder-comic__title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
}

.founder-comic__text {
  font-size: 1.5rem;
}

.founder-comic__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--white-gray);
  position: relative;
}

.founder-comic__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 90%;
  width: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

/* ダウンロードリンク */
.founder-comic__download {
  text-align: left;
}

.founder-comic__link {
  font-weight: 400;
  font-size: 1.8rem;
  text-decoration: none;
}

/* 注記 */
.founder-comic__note {
  font-size: 1.2rem;
}

/* 物語個別ページ */
.founder-story {
  margin-bottom: 5rem;
}

.founder-story__title {
  font-size: 2.2rem;
  font-weight: 600;
  padding-top: 3rem;
  margin-bottom: 3rem;
}

.founder-story__era {
  display: block;
  font-size: 2rem;
  font-weight: 400;
}

.founder-story__text-box {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem
}

.founder-story__text {
  font-size: 1.5rem;
}

.founder-story__right {
  font-size: 1.2rem;
}

.founder-story__right figcaption {
  margin-top: 0.5em;
}

/* 音声再生 */
.audio-box {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 4rem;
}

.audio-text {
  font-size: 1.4rem;
  font-weight: 400;
}

.audio-text::before {
  content: "■";
  margin-right: 0.25em;
}

.audio-caption {
  font-size: 1.4rem;
}

/* ページャー */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white-gray);
  font-size: 1.4rem;
  padding: 0.6rem 0.8rem;
  margin-bottom: 6rem;
}

.pager__center {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pager__prev,
.pager__next {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .4rem .6rem;
}

.pager-disable {
  inline-size: calc(5.4rem + 14px);
  padding: .4rem .6rem;
}

/* アイコン */
.pager-icon {
  width: 14px;
  height: 15px;
  flex: 0 0 auto;
}

.next {
  transform: scaleX(-1);
  /* 横反転 */
}

/* ====================================
	ホバー、マウスポインタが有効なデバイス
==================================== */
@media (hover:hover) and (pointer: fine) {

  /* ページャー */
  .pager__prev:hover,
  .pager__next:hover {
    text-decoration: underline;
  }

  /* リンクリスト */
  .era-card:hover .era-card__title {
    text-decoration-line: none;
  }

  .era-card .era-card__img {
    transition: var(--hover-transition-opacity);
  }

  .era-card:hover .era-card__img {
    opacity: var(--hover-opacity);
  }

  .video-caption a:hover {
    text-decoration: none;
  }
}

/* ====================================
	480px以上専用スタイル
==================================== */
@media screen and (width >=480px) {}

/* ====================================
	768px未満専用スタイル
==================================== */
@media screen and (width <768px) {}

/* ====================================
	768px以上専用スタイル
==================================== */
@media screen and (width >=768px) {}

/* ====================================
	768px以上1080px未満専用スタイル
==================================== */
@media screen and (768px <=width < 1080px) {}

/* ====================================
	1080px未満専用スタイル
==================================== */
@media screen and (width <1080px) {}

/* ====================================
	1080px以上専用スタイル
==================================== */
@media print,
screen and (1080px <=width) {

  .section {
    margin-bottom: 20rem;
    padding-bottom: 0;
    border-bottom: none;
  }

  /* タイトル */
  .founder-intro {
    margin-bottom: 8rem;
  }

  .founder__main-title {
    font-size: 3.4rem;
    margin-bottom: 5rem;
  }

  /* 写真と音でつづる */
  .era-heading {
    display: flex;
    align-items: center;
    padding: 0.5em 0.5em 0.5em 3.6rem;
    margin-bottom: 4rem;
  }

  .era__title {
    display: flex;
    align-items: center;
  }

  .era-heading::before {
    height: 30%;
    width: 6px;
    left: 1.4rem;
    top: 50%;
  }

  .era-range {
    font-size: 2.6rem;
  }

  .era-subtitle {
    font-size: 2rem;
    margin-left: 2.4rem;
  }

  .era-card__wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 8rem;
    grid-auto-rows: 1fr;
  }

  .era-card {
    flex-direction: column;
  }

  .era-card__text {
    padding-inline: 0;
    padding-top: 1rem;
  }

  .era-card__range {
    font-size: 2rem;
    margin-bottom: 0.4rem;
  }

  .era-card__title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  /* 映像でつづる */
  .founder-video__wrapper {
    margin: 0 auto;
  }

  .founder-video {
    margin-bottom: 5rem;
  }

  .video-caption {
    font-size: 1.6rem;
  }

  /* 漫画で見る */
  .founder-comic__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
  }

  .founder-comic__box {
    gap: 1.8rem;
    border-bottom: none;
    padding-bottom: 0;
  }

  .founder-comic__box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .founder-comic__title {
    font-size: 2.4rem;
  }

  .founder-comic__text {
    font-size: 1.6rem;
  }

  .founder-comic__img {
    aspect-ratio: 7 / 5;
  }

  .founder-comic__img img {
    height: 94%;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
  }

  /* ダウンロードリンク */
  .founder-comic__download {
    text-align: left;
  }

  .founder-comic__link {
    font-size: 1.6rem;
  }

  /* 物語個別ページ */
  .founder-story {
    margin-bottom: 7rem;
  }

  .founder-story__title {
    font-size: 3.2rem;
    font-weight: 600;
    padding-top: 6rem;
    margin-bottom: 3rem;
  }

  .founder-story__era {
    font-size: 2rem;
    font-weight: 400;
  }

  .founder-story__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }

  .founder-story__text-box {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2.2rem
  }

  .founder-story__text {
    font-size: 1.6rem;
    line-height: 1.8;
  }

  .founder-story__right {
    font-size: 1.4rem;
  }

  /* 音声再生 */
  .audio-box {
    margin-bottom: 4rem;
  }

  .audio-text {
    font-size: 1.5rem;
  }

  .audio-caption {
    font-size: 1.4rem;
  }

  /* ページャー */
  .pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background: var(--white-gray);
    font-size: 1.6rem;
    padding: 0.6rem 0.8rem;
    margin-bottom: 6rem;
  }

  .pager__center {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .pager__prev,
  .pager__next {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: .4rem .6rem;

  }

  /* アイコン */
  .pager-icon {
    width: 14px;
    height: 15px;
    flex: 0 0 auto;
  }

  .next {
    transform: scaleX(-1);
    /* 横反転 */
  }


}

/* ====================================
	1200px以上専用スタイル
==================================== */
@media screen and (1200px <=width) {}

/* ====================================
	1280px未満専用スタイル
==================================== */
@media screen and (width <1280px) {}