@charset "UTF-8";

header nav ul li.current a {
  color: #bf9939;
}

.top0 {
  margin-top: 0;
}

.swiper-pagination {
  width: 100%;
}
.js_isIe .swiper-pagination {
  margin: 2% 0 0 0;
}

.modal__content .swiper-pagination {
  left: 0;
  right: 0;
  margin: auto;
}

.swiper-pagination-bullet:first-child {
  margin: 0 0 0 -10px;
}
.slide_area .swiper-pagination-bullet:first-child {
  margin: 0;
}
.swiper-pagination-bullet:nth-of-type(n + 2) {
  margin: 0 0 0 12px;
}
/*
.slide_area .swiper-pagination-bullet:nth-of-type(n+2){
  margin: 0;
}
*/
.swiper-pagination-bullet-active {
  background-color: #bf9939;
}

#history_link_area .link_list li:first-of-type.current a,
#history_link_area .link_list li:first-of-type.current .number {
  color: #cc9f85;
}
#history_link_area .link_list li:nth-of-type(2).current a,
#history_link_area .link_list li:nth-of-type(2).current .number {
  color: #d4b82f;
}
#history_link_area .link_list li:nth-of-type(3).current a,
#history_link_area .link_list li:nth-of-type(3).current .number {
  color: #88b81a;
}
#history_link_area .link_list li:nth-of-type(4).current a,
#history_link_area .link_list li:nth-of-type(4).current .number {
  color: #56b8af;
}
#history_link_area .link_list li:nth-of-type(5).current a,
#history_link_area .link_list li:nth-of-type(5).current .number {
  color: #5d9ede;
}
#history_link_area .link_list li:nth-of-type(6).current a,
#history_link_area .link_list li:nth-of-type(6).current .number {
  color: #ab91eb;
}
#history_link_area .link_list li:nth-of-type(7).current a,
#history_link_area .link_list li:nth-of-type(7).current .number {
  color: #eb86b1;
}
#history_link_area .link_list li:nth-of-type(8).current a,
#history_link_area .link_list li:nth-of-type(8).current .number {
  color: #ee9e00;
}

/*クリックして見るアイコン 年代ごと色設定*/
svg.addFil.history01 {
  fill: #cc9f85 !important;
}
svg.addFil.history02 {
  fill: #d4b82f !important;
}
svg.addFil.history03 {
  fill: #88b81a !important;
}
svg.addFil.history04 {
  fill: #56b8af !important;
}
svg.addFil.history05 {
  fill: #5d9ede !important;
}
svg.addFil.history06 {
  fill: #ab91eb !important;
}
svg.addFil.history07 {
  fill: #eb86b1 !important;
}
svg.addFil.history08 {
  fill: #ee9e00 !important;
}

@media screen and (min-width: 601px) {
  header {
    border-bottom: 1px solid #dddddd;
    position: fixed;
    top: 0;
    left: 0;
    height: 91px;
    overflow: hidden;
  }

  header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 96%;
    height: 91px;
    max-width: 1120px;
    margin: 0 auto;
  }
  header h1 {
    position: relative;
  }
  header nav {
    margin: 0;
    border: none;
  }

  header nav ul {
    justify-content: space-between;
    /* width: 97%; */
    /* max-width: 870px; */
    margin: 0 0 0 -10%;
  }
  header nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 1.5vw;
    width: auto;
  }
  header nav ul li:first-of-type {
    margin: 0;
    min-width: 178px;
  }
  header nav ul li:nth-of-type(2) {
    min-width: 218px;
  }
  header nav ul li:nth-of-type(3) {
    min-width: 148px;
  }
  header nav ul li.ex {
    margin-left: 8%;
  }
  header nav ul li.active::after {
    display: none;
  }
  header nav ul li.active::before {
    display: none;
  }
  header nav ul li a {
    display: flex;
    align-items: center;
    text-align: left;
  }
  header nav ul li .text {
    font-size: 0.875rem;
    font-weight: 400;
  }
  header nav ul li:first-of-type .text {
    font-size: 1rem;
  }
  header nav ul.active li .text {
    color: #3c3c43;
  }
  header nav ul.active li.active .text {
    color: inherit;
  }
  header nav ul li a .sub_text {
    display: block;
    margin-bottom: 5px;
    font-size: 0.75rem;
    font-weight: 700;
  }
  header nav ul li img {
    margin-right: 8px;
    width: 42px;
    height: auto;
  }
  header nav ul li .text svg {
    left: -29px;
    transform: rotate(0deg);
  }
  header nav ul li.active .text svg {
    transform: rotate(0deg);
  }

  div.footerNav {
    display: none;
  }
  footer {
    border-top: none;
  }

  .contents .sp {
    display: none;
  }

  img.external_link {
    display: inline-block;
    vertical-align: baseline;
    margin: 0 0 0 0.25rem;
  }

  /* mv */
  #main_box h2.main_box_mainImg {
    overflow: hidden;
    height: 280px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
  }
  #main_box h2 p {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    color: #fff;
  }

  #main_box h2 p.sub {
    font-size: 1.5rem;
    line-height: 1;
    margin: 0 0 1.25rem 0;
  }

  /* h3 */
  .text_introduction h3,
  .history_index h3 {
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 0;
    border-radius: 36px;
    font-size: 2rem;
    font-weight: 700;
  }
  .text_introduction h3 span,
  .history_index h3 span {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .text_introduction h3 .number,
  .history_index h3 .number {
    margin: 0 20px 0 12px;
    border-radius: 50%;
    width: 48px;
    min-width: 48px;
    height: 48px;
    background-color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
  }
  .text_introduction h3 .small,
  .history_index h3 .small {
    margin-right: 7px;
    font-size: 1.125rem;
    font-weight: 400;
  }

  /* history_link_area */
  #history_link_area .history_link_area_ttl {
    margin-bottom: 25px;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
  }
  #history_link_area .link_list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    width: 78.8%;
    max-width: 883px;
  }
  #history_link_area .link_list li {
    position: relative;
    width: 14.28%;
    font-size: 0.813rem;
    line-height: 1.28;
    font-weight: 700;
  }
  #history_link_area .link_list li.disabled {
    pointer-events: none;
  }
  #history_link_area .link_list li:before {
    content: "";
    position: absolute;
    top: 8px;
    /*right: -2px;*/
    right: -8px;
    width: 75%;
    height: 4px;
    z-index: -2;
  }
  #history_link_area .link_list li:first-of-type:before {
    background-color: #cc9f85;
  }
  #history_link_area .link_list li:nth-of-type(2):before {
    background-color: #d4b82f;
  }
  #history_link_area .link_list li:nth-of-type(3):before {
    background-color: #88b81a;
  }
  #history_link_area .link_list li:nth-of-type(4):before {
    background-color: #56b8af;
  }
  #history_link_area .link_list li:nth-of-type(5):before {
    background-color: #5d9ede;
  }
  #history_link_area .link_list li:nth-of-type(6):before {
    background-color: #ab91eb;
  }
  #history_link_area .link_list li:nth-of-type(7):before {
    background-color: #eb86b1;
  }
  #history_link_area .link_list li:nth-of-type(8):before {
    background-color: #ee9e00;
  }
  #history_link_area .link_list li.disabled:before {
    background-color: #cccccc;
  }

  #history_link_area .link_list li:nth-of-type(8):after {
    content: "";
    position: absolute;
    top: 2px;
    right: -11px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 20px;
    border-color: transparent transparent transparent #ee9e00;
  }
  #history_link_area .link_list li:nth-of-type(8).disabled:after {
    border-color: transparent transparent transparent #cccccc;
  }

  #history_link_area .link_list li a {
    position: relative;
    display: inline-block;
  }
  #history_link_area .link_list li.disabled a {
    color: #cccccc;
  }
  #history_link_area .link_list li a.sp {
    display: none;
  }
  #history_link_area .link_list li .number {
    position: relative;
    /*margin: 0 0 15px 15px;*/
    margin: 0 0 15px 21px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
  }

  #history_link_area .link_list li .number:before {
    content: "";
    position: absolute;
    top: -5.5px;
    left: -9.5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    z-index: -1;
  }
  #history_link_area .link_list li:first-of-type .number:before {
    background-color: #cc9f85;
    border: 3px solid #cc9f85;
  }
  #history_link_area .link_list li:nth-of-type(2) .number:before {
    border: 3px solid #d4b82f;
    background-color: #d4b82f;
  }
  #history_link_area .link_list li:nth-of-type(3) .number:before {
    border: 3px solid #88b81a;
    background-color: #88b81a;
  }
  #history_link_area .link_list li:nth-of-type(4) .number:before {
    border: 3px solid #56b8af;
    background-color: #56b8af;
  }
  #history_link_area .link_list li:nth-of-type(5) .number:before {
    border: 3px solid #5d9ede;
    background-color: #5d9ede;
  }
  #history_link_area .link_list li:nth-of-type(6) .number:before {
    border: 3px solid #ab91eb;
    background-color: #ab91eb;
  }
  #history_link_area .link_list li:nth-of-type(7) .number:before {
    border: 3px solid #eb86b1;
    background-color: #eb86b1;
  }
  #history_link_area .link_list li:nth-of-type(8) .number:before {
    border: 3px solid #ee9e00;
    background-color: #ee9e00;
  }
  #history_link_area .link_list li.disabled .number:before {
    border: 3px solid #cccccc;
    background-color: #cccccc;
  }
  #history_link_area .link_list li.current .number:before {
    background-color: #fff !important;
    width: 28px;
    height: 28px;
    top: -8px;
    left: -12px;
  }

  /* database_box */
  .contents .database_box {
    margin: 40px 0;
  }
  .contents .database_box h4 {
    margin-bottom: 17px;
    font-size: 1.125rem;
    font-weight: 700;
  }
  .contents .database_box .link_list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    /* width: 80%; */
  }
  .contents .database_box .link_list li {
    font-size: 0.875rem;
  }
  .contents .database_box .link_list li:nth-of-type(even) {
    margin-left: 60px;
  }
  .contents .database_box .link_list li:nth-of-type(n + 3) {
    margin-top: 18px;
  }

  /* もっと見る */
  .text_more {
    display: none;
  }
  button.btn_more {
    display: block;
    position: relative;
    margin: 20px auto;
    padding: 8px;
    border: none;
    background-color: transparent;
    outline: 0;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    color: #3c3c43;
    cursor: pointer;
    overflow: visible;
  }
  .btn_more_gradation {
    position: absolute;
    bottom: -1px;
    left: 0px;
    border: none;
    width: 100%;
    height: 40px;
    padding-top: 80px;
    text-align: center;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 1) 70%
    );
    background: -webkit-linear-gradient(
      -90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 70%
    );
    background: -moz-linear-gradient(
      -90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 70%
    );
    cursor: pointer;
    transition: bottom 0.2s;
    overflow: visible;
  }
  button.btn_more:before {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 40%;
    left: -19px;
    width: 13px;
    height: 9px;
    background-image: url(../../textbook_history/images/icon_more.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
  button.btn_more_gradation:before {
    content: " ";
    display: inline-block;
    position: absolute;
    bottom: -15%;
    left: calc(50% - 57px);
    width: 13px;
    height: 9px;
    background-image: url(../../textbook_history/images/icon_more.png);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
  }
  _::-webkit-full-page-media,
  _:future,
  :root button.btn_more_gradation:before {
    bottom: -15%;
  }
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
    ::i-block-chrome,
    button.btn_more_gradation:before {
      bottom: -15%;
    }
  }
  .btn_more_gradation.on-click {
    background: none;
    /* bottom: -30px; */
  }
  button.btn_more:after,
  button.btn_more_gradation:after {
    content: "もっと見る";
    display: inline-block;
    position: relative;
    font-size: 0.875rem;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    font-family:
      "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
      Verdana, "メイリオ", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
    color: #3c3c43;
    line-height: 1;
  }
  button.btn_more.on-click:before,
  button.btn_more_gradation.on-click:before {
    transform: rotate(180deg);
    left: calc(50% - 43px);
  }
  button.btn_more.on-click:after,
  button.btn_more_gradation.on-click:after {
    content: "閉じる";
    position: relative;
    display: inline-block;
    font-family:
      "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
      Verdana, "メイリオ", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
  }
  /* もっと見る グラデーション */
  .text_hidden_wrapper {
    position: relative;
    margin-bottom: 45px;
  }
  .text_hidden_wrapper .text {
    height: 120px;
    overflow: hidden;
  }

  /* モーダル */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s 0.3s;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .open_wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.3s 0s ease;
  }
  .modal.is-active {
    opacity: 1;
    pointer-events: auto;
  }
  .modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  .modal__content {
    position: relative;
    width: 100%;
    max-width: 740px;
    overflow: hidden;
  }
  .modal_inner {
    background: #fff;
    border-radius: 10px;
    margin: 0 10px;
    padding: 32px 16%;
    /* display: flex;
      justify-content: flex-start;
      align-items: center; */
  }
  .modal__close-btn {
    position: absolute;
    right: 32px;
    top: 20px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 20;
  }
  .modal__close-btn:hover {
    opacity: 0.8;
  }
  .lineClose {
    display: inline-block;
    vertical-align: middle;
    color: #c0c0c0;
    line-height: 1;
    width: 2rem;
    height: 0.1rem;
    background: currentColor;
    border-radius: 0.1rem;
    position: relative;
    transform: rotate(45deg);
  }
  .lineClose::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
  }

  /* スライダー */
  .modal .swiper-button-next:after,
  .modal .swiper-button-prev:after {
    font-size: 2rem;
    color: #c0c0c0;
    /*
    color: #C0C0C0;
	  */
  }
  .modal .swiper-button-next,
  .modal .swiper-rtl .swiper-button-prev {
    right: 30px;
  }
  .modal .swiper-button-prev,
  .modal .swiper-rtl .swiper-button-next {
    left: 30px;
  }

  /* 教科書いまむかしtopへ戻るボタン */
  .contents .btn_top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*margin: 32px auto 60px;*/
    margin: 60px auto;
    padding: 0 15px 0 51px;
    border-radius: 70px;
    width: 238px;
    height: 66px;
    background-color: #faefd4;
    font-size: 1rem;
    font-weight: 700;
  }
  .contents .btn_top:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background-image: url(/textbook_history/images/icon_top.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    box-sizing: border-box;
    border-bottom: 1px solid #c0c0c0;
    width: 100%;
    height: auto;
    z-index: 100;
  }
  header .inner {
    position: relative;
    height: auto;
  }
  /*
  header div.contents_box {
    margin: 12px 0;
  	height: 2.5rem;
  }
*/
  header .contents_box .inner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
  }

  header h1 {
    margin-top: 0;
    font-size: 0;
  }
  header h1 a {
    display: inline-block;
    vertical-align: top;
  }
  header h1 a img {
    height: auto;
  }

  header #menuBar {
    cursor: pointer;
    width: 3.5rem;
    height: 3.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  header #menuBar .menu-trigger {
    background-image: url("../../common/images/icon_menu.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
  }
  header #menuBar .menu-trigger.active {
    width: 1rem;
    height: 1.0625rem;
    background-image: url("../../common/images/icon_menu_close.svg");
  }

  header nav {
    border-top: 1px solid #c0c0c0;
    position: fixed;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    z-index: 1;
  }
  header nav.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  header nav div.inner {
    width: 100%;
  }
  header nav ul {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  header nav ul li {
    justify-content: flex-start;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    position: relative;
    padding: 0 4vw;
    border-bottom: 1px solid #c0c0c0;
  }
  header nav ul li:last-of-type {
    margin: 0;
  }
  header nav ul li:hover {
    opacity: 1;
  }
  header nav ul li.active::before {
    opacity: 0;
  }
  header nav ul li.active .text svg {
    transform: rotate(0deg);
  }
  header nav ul li a {
    width: 100%;
  }

  header nav ul li .text {
    font-size: 1.3rem;
    font-weight: 400;
    padding: 1.25rem 0;
  }
  header nav ul li:first-of-type .text {
    font-size: 1.5rem;
    font-weight: 700;
  }
  header nav ul li a .sub_text {
    display: inline-block;
    margin-right: 2vw;
    font-size: 1.25rem;
    font-weight: 700;
  }
  header nav ul li .text svg {
    position: absolute;
    top: 0.1rem;
    left: 93%;
    bottom: 0;
    margin: auto;
    display: inline-block;
    vertical-align: middle;
    width: 1rem;
    height: 1rem;
  }

  .contents .database_box .link_list {
    flex-wrap: nowrap;
    width: 100%;
  }
  .contents .database_box .link_list li {
    line-height: 1.5;
  }
}
@media screen and (max-width: 600px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    box-sizing: border-box;
    border-bottom: 1px solid #c0c0c0;
    width: 100%;
    z-index: 100;
  }
  header .inner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 2.5rem;
  }
  /*
  header .contents_box{
  	height: 2.5rem;
  }
*/
  header .contents_box .inner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.4375rem 0;
    box-sizing: border-box;
  }

  header h1 {
    font-size: 0;
  }
  header h1 a {
    display: inline-block;
    vertical-align: top;
  }
  header h1 a img {
    width: 8rem;
    height: auto;
  }

  header #menuBar {
    cursor: pointer;
    width: 1.75rem;
    height: 1.75rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  header #menuBar .menu-trigger {
    width: 1.125rem;
    height: 0.875rem;
    background-image: url("../../common/images/icon_menu.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
  }
  header #menuBar .menu-trigger.active {
    width: 1rem;
    height: 1.0625rem;
    background-image: url("../../common/images/icon_menu_close.svg");
  }

  header nav {
    border-top: 1px solid #c0c0c0;
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    z-index: 1;
  }
  header nav.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  header nav div.inner {
    width: 100%;
  }

  header nav ul li {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    position: relative;
    padding: 0 4vw;
    border-bottom: 1px solid #c0c0c0;
  }

  header nav ul li .text {
    font-size: 3.73vw;
    font-weight: 400;
    padding: 1.25rem 0;
    position: relative;
  }
  header nav ul li:first-of-type .text {
    font-size: 4.27vw;
    font-weight: 700;
  }
  header nav ul li .sub_text {
    display: inline-block;
    margin-right: 2vw;
    font-weight: 700;
  }
  header nav ul li .text svg {
    position: absolute;
    top: 0.1rem;
    right: 0;
    bottom: 0;
    margin: auto;
    display: inline-block;
    vertical-align: middle;
    width: 1rem;
    height: 1rem;
  }

  ul.spFooter {
    margin-top: 0;
  }

  .contents .pc {
    display: none;
  }
  img.external_link {
    display: inline-block;
    vertical-align: baseline;
    margin: 0 0 0 0.25rem;
  }

  /* mv */
  #main_box h2.main_box_mainImg {
    overflow: hidden;
    height: 42.67vw;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top 43%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
  }
  #main_box h2 p {
    font-size: 6.4vw;
    font-weight: 700;
    line-height: 1;
    color: #fff;
  }
  #main_box h2 p.sub {
    font-size: 4.27vw;
    line-height: 1;
    margin-bottom: 3vw;
  }
  .contents .inner {
    width: 100%;
  }

  /* contents h3 */
  .history_index h3,
  .text_introduction h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 0;
    padding: 3.73vw 0;
    font-size: 6.4vw;
    font-weight: 700;
  }
  .history_index h3 span,
  .text_introduction h3 span {
    text-align: center;
    vertical-align: middle;
  }
  .history_index h3 .number,
  .text_introduction h3 .number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4.27vw 0 0;
    border-radius: 50%;
    width: 7.47vw;
    height: 7.47vw;
    background-color: #fff;
    font-size: 4.27vw;
    font-weight: 400;
  }
  .history_index h3 .small,
  .text_introduction h3 .small {
    display: block;
    /* margin-bottom: 2vw; */
    font-size: 3.73vw;
    font-weight: 400;
  }

  /* history_link_area */
  #history_link_area .link_list li a.pc_tb {
    display: none;
  }
  #history_link_area .history_link_area_ttl {
    margin-bottom: 4.8vw;
    font-size: 4.27vw;
    font-weight: 700;
    text-align: center;
  }
  #history_link_area .link_list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 92%;
  }
  #history_link_area .link_list li {
    position: relative;
    width: 50%;
    font-size: 3.47vw;
    line-height: 2;
    font-weight: 700;
  }
  #history_link_area .link_list li.disabled {
    pointer-events: none;
  }
  #history_link_area .link_list li a {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
  }
  #history_link_area .link_list li.disabled a {
    color: #cccccc;
  }
  #history_link_area .link_list li .number {
    position: relative;
    /*margin: 0 3.73vw 3.13vw 2.13vw;*/
    margin: -0.5vw 3.73vw 3.13vw 2.13vw;
    font-size: 3.73vw;
    line-height: 2;
    font-weight: 700;
    color: #fff;
  }
  #history_link_area .link_list li .number:before {
    content: "";
    position: absolute;
    top: 1px;
    left: -2.6vw;
    width: 6.4vw;
    height: 6.4vw;
    border-radius: 50%;
    z-index: -1;
  }
  #history_link_area .link_list li:first-of-type .number:before {
    background-color: #cc9f85;
    border: 2px solid #cc9f85;
  }
  #history_link_area .link_list li:nth-of-type(2) .number:before {
    border: 2px solid #d4b82f;
    background-color: #d4b82f;
  }
  #history_link_area .link_list li:nth-of-type(3) .number:before {
    border: 2px solid #88b81a;
    background-color: #88b81a;
  }
  #history_link_area .link_list li:nth-of-type(4) .number:before {
    border: 2px solid #56b8af;
    background-color: #56b8af;
  }
  #history_link_area .link_list li:nth-of-type(5) .number:before {
    border: 2px solid #5d9ede;
    background-color: #5d9ede;
  }
  #history_link_area .link_list li:nth-of-type(6) .number:before {
    border: 2px solid #ab91eb;
    background-color: #ab91eb;
  }
  #history_link_area .link_list li:nth-of-type(7) .number:before {
    border: 2px solid #eb86b1;
    background-color: #eb86b1;
  }
  #history_link_area .link_list li:nth-of-type(8) .number:before {
    border: 2px solid #ee9e00;
    background-color: #ee9e00;
  }
  #history_link_area .link_list li.disabled .number:before {
    border: 2px solid #cccccc;
    background-color: #cccccc;
  }
  #history_link_area .link_list li.current .number:before {
    background-color: #fff;
  }

  /* database_box */
  .contents .database_box {
    margin: 6.4vw 0;
  }
  .contents .database_box h4 {
    margin-bottom: 4.27vw;
    font-size: 4.27vw;
    line-height: 1.5;
    font-weight: 700;
  }
  .contents .database_box .link_list:nth-of-type(2) {
    margin-top: 4.27vw;
  }
  .contents .database_box .link_list li {
    font-size: 3.73vw;
    line-height: 1.4;
  }
  .contents .database_box .link_list li:not(:first-of-type) {
    margin-top: 4.27vw;
  }

  /* もっと見る */
  .text_more {
    display: none;
  }
  button.btn_more {
    display: block;
    position: relative;
    margin: 20px auto;
    padding: 8px;
    border: none;
    background-color: transparent;
    outline: 0;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    color: #3c3c43;
    cursor: pointer;
    overflow: visible;
  }
  .btn_more_gradation {
    position: absolute;
    /*bottom: -8px;*/
    bottom: -7vw;
    left: 0px;
    border: none;
    width: 100%;
    /*height: 40px;*/
    /*padding-top: 35px;*/
    height: 22vw;
    padding-top: 17vw;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 70%
    );
    background: -moz-linear-gradient(
      -90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 70%
    );
    background: -webkit-linear-gradient(
      -90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 70%
    );
    cursor: pointer;
    transition: bottom 0.2s;
  }
  .js_isIe .btn_more_gradation {
    bottom: -5vw;
  }

  button.btn_more:before {
    content: "";
    position: absolute;
    top: 40%;
    left: -19px;
    width: 13px;
    height: 9px;
    background-image: url(../../textbook_history/images/icon_more.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
  button.btn_more_gradation:before {
    content: "";
    display: inline-block;
    position: absolute;
    /*bottom: -2.8vw;*/
    bottom: 1vw;
    left: 34%;
    width: 13px;
    height: 9px;
    background-image: url(../../textbook_history/images/icon_more.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
  .btn_more_gradation.on-click {
    background: none;
  }
  button.btn_more:after,
  button.btn_more_gradation:after {
    content: "もっと見る";
    position: relative;
    display: inline-block;
    font-size: 3.73vw;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    font-family:
      "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
      Verdana, "メイリオ", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
    color: #3c3c43;
  }
  button.btn_more.on-click:before,
  button.btn_more_gradation.on-click:before {
    transform: rotate(180deg);
  }
  button.btn_more.on-click:after,
  button.btn_more_gradation.on-click:after {
    content: "閉じる";
    position: relative;
    display: inline-block;
    font-family:
      "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
      Verdana, "メイリオ", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
  }

  /* もっと見る グラデーション */
  .text_hidden_wrapper {
    position: relative;
    margin-bottom: 45px;
  }
  .text_hidden_wrapper .text {
    padding-bottom: 17px;
    height: 120px;
    overflow: hidden;
  }
  .text_hidden_wrapper button.btn_more.on-click:before,
  .text_hidden_wrapper button.btn_more_gradation.on-click:before {
    /*bottom: -3vw;*/
    bottom: 1vw;
    left: 38%;
  }

  /* モーダル */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .modalOpen {
    position: relative;
    cursor: pointer;
    transition: all 0.3s 0s ease;
  }
  .modal.is-active {
    opacity: 1;
    pointer-events: auto;
  }
  .modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  .modal__content {
    position: relative;
    width: 100%;
  }
  .modal_inner {
    background: #fff;
    border-radius: 10px;
    margin: 0 10px;
    padding: 10.67vw 6.67vw 8.53vw;
    overflow: hidden;
    position: fixed;
    width: 82%;
    top: 4rem;
  }
  .modal__close-btn {
    position: absolute;
    right: 32px;
    top: 20px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 20;
  }
  .modal__close-btn:hover {
    opacity: 0.8;
  }
  .lineClose {
    display: inline-block;
    vertical-align: middle;
    color: #c0c0c0;
    line-height: 1;
    width: 2rem;
    height: 0.1rem;
    background: currentColor;
    border-radius: 0.1rem;
    position: relative;
    transform: rotate(45deg);
  }
  .lineClose::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
  }

  /* スライダー */
  .modal .swiper-button-next,
  .modal .swiper-button-prev {
    position: fixed;
  }
  body.table .modal .swiper-button-next,
  body.table .modal .swiper-button-prev {
    top: auto;
    bottom: 1.25rem;
    position: absolute;
  }

  .modal .swiper-button-next:after,
  .modal .swiper-button-prev:after {
    font-size: 2rem;
    /*
    color: #C0C0C0;
	  */
    color: #c0c0c0;
  }
  .modal .swiper-button-next,
  .modal .swiper-rtl .swiper-button-prev {
    top: 50%;
    right: 12%;
  }
  .modal .swiper-button-prev,
  .modal .swiper-rtl .swiper-button-next {
    top: 50%;
    left: 9%;
  }

  /* 教科書いまむかしtopへ戻るボタン */
  .contents .btn_top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 8.53vw auto 10.67vw;
    padding: 0 7vw 0 12.6vw;
    border-radius: 70px;
    width: 59.8vw;
    height: 12.8vw;
    background-color: #faefd4;
    font-size: 4.27vw;
    font-weight: 700;
  }
  .contents .btn_top:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2.13vw;
    transform: translateY(-50%);
    width: 8.53vw;
    height: 8.53vw;
    background-image: url(/textbook_history/images/icon_top.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}

/* 教科書紹介ページ */
@media screen and (min-width: 601px) {
  /* common */
  .footer_text_introduction footer {
    border-top: 1px solid #dddddd;
  }
  .text_introduction .wrapper {
    padding-bottom: 60px;
  }
  .text_introduction .contents {
    padding: 60px 0 0;
  }
  .text_introduction .wrapper {
    width: 86%;
    margin: 0 auto;
  }
  .text_introduction h3 .ttl_lines {
    display: none;
  }
  .text_introduction h3 .small {
    display: block;
    flex-shrink: 0;
  }
  .text_introduction h3 .nobreak {
    display: inline-block;
  }

  .text_introduction .ttl_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 74px;
    height: 74px;
  }
  .text_introduction .ttl_btn img {
    width: 18px;
    height: auto;
  }
  .text_introduction h3 {
    padding-right: 55px;
    padding-left: 55px;
  }
  .text_introduction h3 .img_arrow_right {
    right: 0;
  }
  .text_introduction h3 .img_arrow_left {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
  }
  .text_introduction h3.ttl_arrow_right .img_arrow_left {
    display: none;
  }
  .text_introduction h3.ttl_arrow_left .img_arrow_right {
    display: none;
  }

  .text_introduction .lead {
    padding-top: 40px;
  }
  .text_introduction .lead p {
    font-size: 1.125rem;
    line-height: 1.6;
  }
  .text_introduction .lead p:not(:first-of-type):not(.top0) {
    margin-top: 15px;
  }
  .text_introduction .sec {
    padding-top: 60px;
  }
  .text_introduction .sec h4 {
    margin-bottom: 32px;
    padding-bottom: 13px;
    border-bottom: 2px solid;
    font-size: 1.5rem;
    font-weight: 700;
  }

  .text_introduction .sec .sec_img_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .text_introduction .sec .sec_img_box > .img_box {
    width: 15%;
    margin: 0 1%;
  }
  .text_introduction .sec .sec_img_box > .img_box:first-child {
    margin-left: 0;
  }
  .text_introduction .sec .sec_img_box > .img_box:last-child {
    margin-right: 0;
  }
  .text_introduction .sec .sec_img_box > .img_box img {
    width: 100%;
    height: auto;
  }
  .text_introduction .sec .sec_img_box .img_box img:nth-of-type(2) {
    margin-top: 12px;
  }
  .text_introduction .sec .sec_img_box .img_box .open_wrapper:nth-of-type(2) {
    margin-top: 12px;
  }

  .text_introduction .sec .text_click {
    text-align: right;
  }
  .text_introduction .sec .text_click .modalOpen {
    display: inline-block;
    position: relative;
    margin-top: 16px;
    font-size: 1rem;
    text-align: right;
    font-weight: 700;
  }
  .text_introduction .sec .text_click .modalOpen svg {
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
  }

  /*
  .text_introduction .sec .text_click .modalOpen:after{
    content: "";
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../../textbook_history/sansu/images/icon_magnification.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
*/
  .text_introduction .modal h5 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
  }
  .text_introduction .sec_img_box .open_wrapper {
    overflow: hidden;
  }
  .text_introduction .sec_img_box .open_wrapper:hover {
    transform: scale(1.1);
  }
  .text_introduction .sec_img_box .open_wrapper:before {
    content: "目次を見る";
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -25%;
    padding-left: 10px;
    width: calc(100% - 10px);
    height: 25%;
    background-color: #000;
    opacity: 0.65;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s 0s ease;
  }
  .text_introduction .sec_img_box .open_wrapper:hover:before {
    bottom: 0;
  }
  .text_introduction .sec_img_box .open_wrapper:after {
    content: "";
    position: absolute;
    bottom: calc(8.8% - 25%);
    left: 17%;
    width: 7px;
    height: 12px;
    background-image: url(/textbook_history/images/arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s 0s ease;
  }
  .text_introduction .sec_img_box .open_wrapper:hover:after {
    bottom: 8.8%;
  }
  .text_introduction .modal .swiper_contents {
    display: flex;
    /* 目次が短いときにpcやtbで右寄せになり、みっともない 
    justify-content: space-between;
	  */
    align-items: flex-start;
  }
  .text_introduction .modal .swiper_contents .ttl {
    margin-bottom: 17px;
    font-size: 1.125rem;
    font-weight: 700;
  }
  .text_introduction .modal .swiper_contents img {
    /*width: 47%;*/
    max-width: 240px;
    height: auto;
  }
  .text_introduction .modal .swiper_text {
    margin-left: 40px;
  }
  .text_introduction .modal .swiper_contents ul li {
    font-size: 1rem;
    line-height: 2;
  }
  /* 20230725追加：ここから */
  .text_introduction .modal .swiper_contents ul li.narrow {
    transform: scale(0.95, 1);
    transform-origin: top left;
    width: 105%;
    /*  color: green;	*/
  }
  .text_introduction .modal .swiper_contents ul li.narrower {
    transform: scale(0.9, 1);
    transform-origin: top left;
    width: 111%;
    /*  color: yellowgreen;	*/
  }
  .text_introduction .modal .swiper_contents ul li.narrowest {
    transform: scale(0.85, 1);
    transform-origin: top left;
    width: 118%;
    /*  color: orange;	*/
  }
  .text_introduction .modal .swiper_contents ul li.narrowestest {
    transform: scale(0.8, 1);
    transform-origin: top left;
    width: 125%;
    /*  color: red;	*/
  }
  .text_introduction .modal .swiper_contents ul li.narrowestestest {
    transform: scale(0.7, 1);
    transform-origin: top left;
    width: 143%;
    /*  color: purple;	*/
  }
  .text_introduction .modal .swiper_contents ul li.narrowestestestest {
    transform: scale(0.65, 1);
    transform-origin: top left;
    width: 154%;
    /*  color: mediumpurple;	*/
  }
  .text_introduction .modal .swiper_contents ul li.narrowestestestestest {
    transform: scale(0.6, 1);
    transform-origin: top left;
    width: 167%;

    /*  color: mediumpurple;	*/
  }
  /* 20230725追加：ここまで */
  .text_introduction .modal .swiper_contents .note {
    margin-top: 24px;
    font-size: 0.813rem;
    line-height: 1.38;
    text-indent: -0.813rem;
    padding-left: 0.813rem;
  }
  .text_introduction .modal .swiper {
    overflow: hidden;
  }

  .text_introduction .sec .sec_text p {
    font-size: 1.125rem;
    line-height: 1.6;
  }
  .text_introduction .sec .sec_text p:not(:first-of-type):not(.top0) {
    margin-top: 15px;
  }
  /*
  .text_introduction .sec02 .sec_text{
    margin-bottom: 24px;
  }
*/
  .text_introduction .sec .sec_text {
    margin-bottom: 24px;
  }

  /* author_area */
  .text_introduction .author_area {
    margin: 8px auto 32px;
  }
  .text_introduction .author_area h5 {
    font-size: 1.125rem;
    font-weight: 700;
  }
  .text_introduction .author_area ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 9px;
    padding: 0 24px;
  }
  .text_introduction .author_area ul li {
    padding-right: 20px;
    width: calc(50% - 40px);
    font-size: 1rem;
    text-align: right;
    line-height: 1.87;
  }
  .text_introduction .author_area_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .text_introduction .author_area table {
    margin-right: 10px;
    width: 50%;
  }
  .text_introduction .author_area table th {
    padding: 4px 0;
    font-size: 0.875rem;
    line-height: 1.3;
    text-align: right;
  }
  .text_introduction .author_area table td {
    padding: 4px 0 4px 16px;
    font-size: 0.875rem;
    text-align: left;
  }
  .text_introduction .author_area table.long_name td {
    padding-left: 12px; /* tb幅601pxの６文字対応 */
  }

  /* box_area */
  .text_introduction .box_area {
    margin-top: 67px;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 32px;
  }
  .text_introduction .box_area h5 {
    margin-bottom: 17px;
    font-size: 1.125rem;
    font-weight: 700;
  }
  .text_introduction .box_area .lead {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: 40px;
    padding: 0;
  }

  .slide_text_box {
    margin: 60px auto 0;
    text-align: left;
    max-width: 76%;
  }

  .slide_text {
    font-size: 1rem;
    line-height: 1.62;
  }

  .slide_text:not(:first-child):not(.top0),
  .slide_text_ul:not(:first-child):not(.top0) {
    margin-top: 1rem;
  }

  .text_introduction .box_area .box-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .text_introduction .box_area .box-row .sample_img {
    width: 32.7%;
    flex-shrink: 0;
  }
  .text_introduction .box_area .box-row .small_text {
    margin-left: 42px;
    font-size: 0.875rem;
    line-height: 1.71;
  }
  .text_introduction .box_area .box-row .small_text .name {
    display: block;
    margin-top: 20px;
    text-align: right;
  }

  /* スライダー */
  .text_introduction .slide_area {
    position: relative;
  }
  .text_introduction .box_area .swiper {
    margin: 0 auto;
    /*width: 73%;*/
    width: 100%;
    overflow: hidden;
  }
  .text_introduction .box_area .swiper-wrapper {
    width: 100%;
    height: auto !important;
  }
  .text_introduction .box_area .swiper-pagination {
    display: flex;
    /*justify-content: space-between;*/
    justify-content: center;
    /*top: 32.5vw;*/
    top: 43vw;
    left: 50%;
    transform: translateX(-50%);
    /*width: 76px;*/
  }
  .text_introduction .box_area .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #e6e6e6;
    opacity: 1;
  }
  .text_introduction .swiper-button-next:after,
  .text_introduction .swiper-button-prev:after {
    content: "";
    display: block;
    width: 36px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
  .text_introduction .swiper-button-next:after {
    background-image: url(/textbook_history/images/icon_next_shadow.png);
  }
  .text_introduction .swiper-button-prev:after {
    background-image: url(/textbook_history/images/icon_prev_shadow.png);
  }
  /* 見づらいとき用のセット */
  .text_introduction .edge .swiper-button-next:after {
    background-image: url(/textbook_history/images/icon_next_edged.png);
  }
  .text_introduction .edge .swiper-button-prev:after {
    background-image: url(/textbook_history/images/icon_prev_edged.png);
  }

  .text_introduction .swiper-button-next,
  .text_introduction .swiper-rtl .swiper-button-prev {
    right: 65px;
  }
  .text_introduction .swiper-button-prev,
  .text_introduction .swiper-rtl .swiper-button-next {
    left: 65px;
  }
  .box_area .swiper-button-next,
  .text_introduction .swiper-rtl .swiper-button-prev {
    /*top: 32%;*/
    top: 270px;
    right: 65px;
  }
  .box_area .swiper-button-prev,
  .text_introduction .swiper-rtl .swiper-button-next {
    /*top: 32%;*/
    top: 270px;
    left: 65px;
  }
  .text_introduction .box_area .swiper-slide {
    width: 100%;
    height: 100%;
    text-align: center;
  }
  .text_introduction .box_area .swiper-slide img {
    margin: 0 auto;
    /*height: 30.75vw;*/
    height: 42vw;
    /*max-height: 500px;*/
    max-height: 540px;
  }
  .text_introduction #history_link_area .link_list li a:after {
    content: "";
    position: absolute;
    bottom: 11px;
    left: 113%;
    width: 7px;
    height: 12px;
    background-image: url(/textbook_history/images/arrow_gray.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  /* ページごとの設定 */
  .sansu .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_sansu_pc.jpg);
  }
  .seikatsu .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_seikatsu_pc.jpg);
  }
  .hoken .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_hoken_pc.jpg);
  }
  .math .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_math_pc.jpg);
  }
  .science .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_science_pc.jpg);
  }
  .pe .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_pe_pc.jpg);
  }

  /* 小学校算数編 */
  .text_introduction.history01 .contents h3 {
    background-color: #ebc7b5;
  }
  .text_introduction.history01 .contents h3 .number {
    color: #cc9f85;
  }
  .text_introduction.history01 .sec h4 {
    border-color: #ebc7b5;
    color: #cc9f85;
  }
  .text_introduction.history01 .sec .text_click {
    color: #cc9f85;
  }
  .text_introduction.history01 .box_area {
    border-color: #e6bda5;
  }
  .text_introduction.history01 .box_area .swiper-pagination-bullet-active {
    background-color: #e6bda5;
  }
  .text_introduction.history02 .contents h3 {
    background-color: #e6d47e;
  }
  .text_introduction.history02 .contents h3 .number {
    color: #d4b82f;
  }
  .text_introduction.history02 .sec h4 {
    border-color: #e6d47e;
    color: #d4b82f;
  }
  .text_introduction.history02 .sec .text_click {
    color: #d4b82f;
  }
  .text_introduction.history02 .box_area {
    border-color: #e6d47e;
  }
  .text_introduction.history02 .box_area .swiper-pagination-bullet-active {
    background-color: #e6d47e;
  }
  .text_introduction.history03 .contents h3 {
    background-color: #c3de85;
  }
  .text_introduction.history03 .contents h3 .number {
    color: #88b81a;
  }
  .text_introduction.history03 .sec h4 {
    border-color: #c3de85;
    color: #88b81a;
  }
  .text_introduction.history03 .sec .text_click {
    color: #88b81a;
  }
  .text_introduction.history03 .box_area {
    border-color: #c3de85;
  }
  .text_introduction.history03 .box_area .swiper-pagination-bullet-active {
    background-color: #c3de85;
  }
  .text_introduction.history04 .contents h3 {
    background-color: #a0ded9;
  }
  .text_introduction.history04 .contents h3 .number {
    color: #56b8af;
  }
  .text_introduction.history04 .sec h4 {
    border-color: #a0ded9;
    color: #56b8af;
  }
  .text_introduction.history04 .sec .text_click {
    color: #56b8af;
  }
  .text_introduction.history04 .box_area {
    border-color: #a0ded9;
  }
  .text_introduction.history04 .box_area .swiper-pagination-bullet-active {
    background-color: #a0ded9;
  }
  .text_introduction.history05 .contents h3 {
    background-color: #a6cff7;
    font-size: 1.688rem;
  }
  .text_introduction.history05 .contents h3 .number {
    color: #5d9ede;
  }
  .text_introduction.history05 .sec h4 {
    border-color: #a6cff7;
    color: #5d9ede;
  }
  .text_introduction.history05 .sec .text_click {
    color: #5d9ede;
  }
  .text_introduction.history05 .box_area {
    border-color: #a6cff7;
  }
  .text_introduction.history05 .box_area .swiper-pagination-bullet-active {
    background-color: #a6cff7;
  }
  .text_introduction.history06 .contents h3 {
    background-color: #cfbef7;
    font-size: 1.125rem;
  }
  .text_introduction.history06 .contents h3 .number {
    color: #ab91eb;
  }
  .text_introduction.history06 .sec h4 {
    border-color: #cfbef7;
    color: #ab91eb;
  }
  .text_introduction.history06 .sec .text_click {
    color: #ab91eb;
  }
  .text_introduction.history06 .box_area {
    border-color: #cfbef7;
  }
  .text_introduction.history06 .box_area .swiper-pagination-bullet-active {
    background-color: #cfbef7;
  }
  .text_introduction.history07 .contents h3 {
    background-color: #f7bed7;
    font-size: 1.125rem;
  }
  .text_introduction.history07 .contents h3 .number {
    color: #eb86b1;
  }
  .text_introduction.history07 .sec h4 {
    border-color: #f7bed7;
    color: #eb86b1;
  }
  .text_introduction.history07 .sec .text_click {
    color: #eb86b1;
  }
  .text_introduction.history07 .box_area {
    border-color: #f7bed7;
  }
  .text_introduction.history07 .box_area .swiper-pagination-bullet-active {
    background-color: #f7bed7;
  }
  .text_introduction.history08 .contents h3 {
    background-color: #f6c674;
    font-size: 1.125rem;
  }
  .text_introduction.history08 .contents h3 .number {
    color: #ee9e00;
  }
  .text_introduction.history08 .sec h4 {
    border-color: #f6c674;
    color: #ee9e00;
  }
  .text_introduction.history08 .sec .text_click {
    color: #ee9e00;
  }
  .text_introduction.history08 .box_area {
    border-color: #f6c674;
  }
  .text_introduction.history08 .box_area .swiper-pagination-bullet-active {
    background-color: #f6c674;
  }
}
@media screen and (min-width: 1627px) {
  .text_introduction .box_area .swiper-pagination {
    top: 526px;
  }
}
@media screen and (max-width: 1170px) and (min-width: 601px) {
  /* 見出し改行の調整 */
  .text_introduction.history05 h3 .ttl_lines {
    display: block;
  }
}
@media screen and (max-width: 996px) and (min-width: 601px) {
  /* 見出し改行の調整 */
  .text_introduction.history07 h3 .ttl_lines {
    display: block;
  }
}
@media screen and (max-width: 902px) and (min-width: 601px) {
  /* 見出し改行の調整 */
  .text_introduction.history06 h3 .ttl_lines {
    display: block;
  }
}
@media screen and (max-width: 876px) and (min-width: 601px) {
  /* 見出し改行の調整 */
  .text_introduction.history07 h3 br.pc_tb {
    display: none;
  }
}
@media screen and (max-width: 818px) and (min-width: 601px) {
  /* 見出し改行の調整 */
  .text_introduction.history02 h3 .ttl_lines {
    display: block;
  }
  .text_introduction.history02 h3 .small {
    font-size: 0.875rem;
  }
  /* タイトルが折れるので追加 */
  .text_introduction.history02 h3 {
    font-size: 1.5em;
  }
  .text_introduction.history06 h3 .ttl br {
    display: none;
  }
}
@media screen and (max-width: 747px) and (min-width: 601px) {
  /* 見出し改行の調整 */
  .text_introduction.history01 h3 .ttl_lines,
  .text_introduction.history03 h3 .ttl_lines,
  .text_introduction.history04 h3 .ttl_lines {
    display: block;
  }
}
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .text_introduction #history_link_area .link_list li a:after {
    left: 106%;
  }
  .history_index h3 {
    padding-right: 26px;
  }
  .text_introduction h3 {
    padding-right: 40px;
    padding-left: 25px;
    font-size: 1.938rem;
  }
  .text_introduction.history05 .contents h3 {
    font-size: 1.125rem;
  }
  .text_introduction h3 .number {
    flex-shrink: 0;
  }
  .history_index h3 .number {
    margin: 0 13px 0 12px;
  }
  .text_introduction h3 .number {
    margin: 0 16px 0 17px;
  }
  .text_introduction h3 .small,
  .history_index h3 .small {
    margin-right: 12px;
  }
  .text_introduction h3 .small {
    flex-shrink: 0;
    /* width: 170px; */
  }
  .text_introduction h3 .ttl {
    width: calc(100% - 170px);
  }

  .text_introduction .ttl_btn {
    top: 54%;
    right: 5px;
    width: 54px;
    height: 54px;
  }
  .text_introduction .ttl_btn img {
    width: 15px;
  }
  .text_introduction .box_area .swiper-button-prev,
  .text_introduction .swiper-rtl .swiper-button-next {
    top: 20vw;
    left: 7%;
  }
  .text_introduction .box_area .swiper-button-next,
  .text_introduction .swiper-rtl .swiper-button-prev {
    top: 20vw;
    right: 7%;
  }
  .text_introduction .box_area .swiper-pagination {
    top: 33vw;
  }
}
@media screen and (max-width: 600px) {
  /* common */
  .text_introduction .wrapper {
    padding-bottom: 8.53vw;
  }
  .text_introduction .ttl_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5.33vw;
    height: 5.33vw;
  }
  .text_introduction .ttl_btn img {
    width: 3.73vw;
    height: auto;
  }
  .text_introduction h3 .img_arrow_right {
    right: 1vw;
  }
  .text_introduction h3 .img_arrow_left {
    left: -4.5vw;
    transform: translate(100%, -50%) rotate(180deg);
  }
  .text_introduction h3.ttl_arrow_right .img_arrow_left {
    display: none;
  }
  .text_introduction h3.ttl_arrow_left .img_arrow_right {
    display: none;
  }
  .text_introduction h3 .ttl_lines {
    display: none;
  }
  .text_introduction h3 .number {
    margin: 0;
  }
  .text_introduction h3 > span:not(.number) {
    position: relative;
    top: 0;
    left: 1vw;
    width: 77vw;
  }

  .text_introduction .wrapper {
    width: 92%;
    margin: 0 auto;
  }
  .text_introduction .lead {
    padding-top: 6.4vw;
  }
  .text_introduction .lead p {
    font-size: 4.27vw;
    line-height: 1.5;
  }
  .text_introduction .lead p:not(:first-of-type):not(.top0) {
    margin-top: 5.8vw;
  }
  .text_introduction .sec {
    padding-top: 8.53vw;
  }
  .text_introduction .sec h4 {
    margin-bottom: 6.4vw;
    padding-bottom: 2.4vw;
    border-bottom: 2px solid;
    font-size: 4.8vw;
    font-weight: 700;
  }

  .text_introduction .sec .sec_img_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    /*
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
*/
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .text_introduction .sec .sec_img_box.sp2clm {
    width: 66%;
    margin: 0 auto;
  }

  .text_introduction .sec .sec_img_box > .img_box {
    width: 31%;
    /*margin: 1%;*/
  }
  .text_introduction .sec .sec_img_box.sp2clm > .img_box {
    width: 48%;
    margin: 2%;
  }
  .text_introduction .sec .sec_img_box > .img_box:nth-of-type(3n-1) {
    margin: 0 2.5%;
  }

  .text_introduction .sec .sec_img_box > .img_box:first-child,
  .text_introduction .sec .sec_img_box.sp2clm > .img_box:nth-of-type(odd) {
    margin-left: 0;
  }
  .text_introduction .sec .sec_img_box > .img_box:last-child,
  .text_introduction .sec .sec_img_box.sp2clm > .img_box:nth-of-type(even) {
    margin-right: 0;
  }
  .text_introduction .sec .sec_img_box > .img_box:nth-of-type(n + 4) {
    margin-top: 6.4vw;
  }
  .text_introduction .sec .sec_img_box.sp2clm > .img_box:nth-of-type(n + 4) {
    margin-top: 2%;
  }

  .text_introduction .sec .sec_img_box img {
    width: 100%;
    height: auto;
  }
  .text_introduction .sec .sec_img_box img:nth-of-type(2) {
    /*margin-top: 2.13vw;*/
    margin-top: 1rem;
  }
  .text_introduction .sec .sec_img_box .open_wrapper:nth-of-type(2) img {
    /*margin-top: 2.13vw;*/
    margin-top: 1rem;
  }

  .text_introduction .sec .text_click {
    text-align: center;
  }
  .text_introduction .sec .text_click .modalOpen {
    display: inline-block;
    position: relative;
    margin-bottom: 4.27vw;
    font-size: 3.73vw;
    font-weight: 700;
  }
  .text_introduction .sec .text_click .modalOpen svg {
    position: absolute;
    top: 50%;
    left: -6.4vw;
    transform: translateY(-50%);
    width: 5.33vw;
    height: 5.33vw;
  }
  /*
  .text_introduction .sec .text_click .modalOpen:after{
    content: "";
    position: absolute;
    top: 50%;
    left: -6.4vw;
    transform: translateY(-50%);
    width: 5.33vw;
    height: 5.33vw;
    background-image: url(../../textbook_history/sansu/images/icon_magnification.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
*/
  .text_introduction .sec .sec_text {
    margin-bottom: 24px;
  }

  /* 目次 */
  .text_introduction .modal h5 {
    margin-bottom: 4.53vw;
    font-size: 6.4vw;
    text-align: center;
    font-weight: 700;
  }
  /* 20230801：小さめ追加 複数冊ものではswiper、一冊ものではswiper-wrapperにつける */
  .text_introduction .modal .short h5 {
    margin-bottom: 3.6vw;
    font-size: 5.1vw;
    text-align: center;
    font-weight: 700;
  }
  /* 20230727：書名長体追加 */
  .text_introduction .modal h5.narrow {
    transform: scale(0.9, 1);
    transform-origin: top left;
    width: 111%;
  }
  .text_introduction .modal h5.narrower {
    transform: scale(0.8, 1);
    transform-origin: top left;
    width: 125%;
  }
  .text_introduction .modal h5.narrowest {
    transform: scale(0.7, 1);
    transform-origin: top left;
    width: 143%;
  }
  .text_introduction .modal h5.narrowestest {
    transform: scale(0.6, 1);
    transform-origin: top left;
    width: 167%;
  }
  .text_introduction .modal .swiper_contents {
    text-align: center;
  }
  .text_introduction .modal .swiper_contents .ttl {
    margin-bottom: 2.13vw;
    font-size: 4.27vw;
    font-weight: 700;
  }
  .text_introduction .modal .swiper_contents img {
    margin: 0 auto;
    width: 56.53%;
    height: auto;
  }
  /* 20230801追加：ここから */
  .text_introduction .modal .short .swiper_contents .ttl {
    margin-bottom: 1.7vw;
    font-size: 4.27vw;
    font-weight: 700;
  }
  .text_introduction .modal .short .swiper_contents img {
    margin: 0 auto;
    width: 45%;
    height: auto;
  }
  .text_introduction .modal .short .swiper_text {
    margin-top: 3.2vw;
  }
  /* 20230801追加：ここまで */
  .text_introduction .modal .swiper_text {
    margin-top: 6.4vw;
    /* 20230711追加：ここから */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .text_introduction .modal .swiper_text .ttl {
    width: 100%;
  }
  /* 20230711追加：ここまで */
  .text_introduction .modal .swiper_contents ul {
    /* 20230711追加：ここから */
    width: calc((100% - 1.25em) / 2);
    /* 20230711追加：ここまで */
    display: flex;
    justify-content: start;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
    /* height: 26vw; */
    overflow: hidden;
  }
  /* 20230711追加：ここから */
  .text_introduction .modal .swiper_contents ul.sp_single {
    width: auto;
    margin: 0 auto;
  }
  .text_introduction .modal .swiper_contents ul.sp_triple {
    width: calc((100% - 1.5em) / 3);
  }

  /* 20230711追加：ここまで */
  .text_introduction .modal .swiper_contents ul li {
    /* width: 48%; */
    box-sizing: border-box;
    font-size: 3.73vw;
    text-align: left;
    line-height: 1.7;
    /* 20230711：ここから
    padding-left: 8vw;
    text-indent: -7vw;
/* 20230711：ここから */
    padding-left: 4vw;
    text-indent: -3vw;
    /* 20230711：ここまで */
    /* 20230711：ここから
	  margin: 0 3.73vw 0 0;
/* 20230711：ここから */
    margin: 0 4vw 0 0;
    /* 20230711：ここまで */
  }
  /* 20230711追加：ここから */
  .text_introduction .modal .swiper_contents ul li.narrow {
    transform: scale(0.9, 1);
    transform-origin: top left;
    width: 111%;
  }
  .text_introduction .modal .swiper_contents ul li.narrower {
    transform: scale(0.8, 1);
    transform-origin: top left;
    width: 125%;
  }
  .text_introduction .modal .swiper_contents ul li.narrowest {
    transform: scale(0.7, 1);
    transform-origin: top left;
    width: 142%;
  }
  .text_introduction .modal .swiper_contents ul li.narrowestest {
    transform: scale(0.6, 1);
    transform-origin: top left;
    width: 166%;
  }
  .text_introduction .modal .swiper_contents ul li.narrowestestest {
    transform: scale(0.5, 1);
    transform-origin: top left;
    width: 200%;
  }
  .text_introduction .modal .swiper_contents ul li.narrowestestestest {
    transform: scale(0.42, 1);
    transform-origin: top left;
    width: 238%;
  }
  .text_introduction .modal .swiper_contents ul li.narrowestestestestest {
    transform: scale(0.4, 1);
    transform-origin: top left;
    width: 250%;
  }
  .text_introduction .modal .swiper_contents ul.shrink li {
    line-height: 1.2;
    margin-bottom: 0.4em;
  }
  .text_introduction .modal .swiper_contents ul.shrinker li {
    line-height: 1.1;
    margin-bottom: 0.3em;
  }
  /* 20230711追加：ここまで */
  .text_introduction .modal .swiper_contents .note {
    margin: 4.27vw 1vw 0;
    font-size: 3.2vw;
    text-align: left;
    line-height: 1.5;
  }
  .text_introduction .modal .swiper {
    overflow: hidden;
  }

  .text_introduction .sec .sec_text p {
    font-size: 1.125rem;
    line-height: 1.6;
  }
  .text_introduction .sec .sec_text p:not(:first-of-type):not(.top0) {
    margin-top: 15px;
  }

  /* author_area */
  .text_introduction .author_area {
    margin: 6.4vw auto 8.53vw;
  }
  .text_introduction .author_area h5 {
    font-size: 4.8vw;
    font-weight: 700;
  }
  .text_introduction .author_area ul {
    margin-top: 1.33vw;
    padding: 0 2.67vw;
  }
  .text_introduction .author_area ul li {
    font-size: 3.73vw;
    text-align: right;
    line-height: 1.8;
  }

  .text_introduction .author_area table {
    width: 100%;
  }
  .text_introduction .author_area table th {
    padding: 4px 0;
    font-size: 3.73vw;
    line-height: 1.3;
    text-align: right;
  }
  .text_introduction .author_area table td {
    padding: 4px 0 4px 16px;
    width: 27%; /* sp:５文字の氏名で改行されるので23%から増やした */
    font-size: 3.73vw;
    text-align: left;
  }
  .text_introduction .author_area table.long_name td {
    width: 32%; /* sp:６文字の氏名用 */
    padding-left: 12px;
  }

  /* box_area */
  .text_introduction .box_area {
    margin-top: 17.53vw;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 6.4vw 3.73vw;
  }
  .text_introduction .box_area h5 {
    margin-bottom: 6.67vw;
    font-size: 4.8vw;
    font-weight: 700;
  }
  .text_introduction .box_area .lead {
    font-size: 4.27vw;
    line-height: 1.5;
    margin-bottom: 8.53vw;
    padding: 0;
  }

  .slide_text_box {
    margin: 16vw auto 0;
    width: 100% !important;
  }

  .slide_text {
    font-size: 4.27vw;
    line-height: 1.5;
  }

  .slide_text:not(:first-child):not(.top0),
  .slide_text_ul:not(:first-child):not(.top0) {
    margin-top: 4vw;
  }
  .slide_text_ul > li {
    font-size: 4.27vw;
    text-indent: -4vw;
    padding: 0 0 0 4vw;
  }

  .text_introduction .box_area .box-row .sample_img {
    display: block;
    margin: 0 auto;
    width: 62.93vw;
  }
  .text_introduction .box_area .box-row .small_text {
    margin-top: 6.13vw;
    font-size: 3.73vw;
    line-height: 1.71;
  }
  .text_introduction .box_area .box-row .small_text .name {
    display: block;
    margin-top: 2.67vw;
    text-align: right;
  }

  /* スライダー */
  .text_introduction .slide_area {
    position: relative;
  }
  .text_introduction .box_area .swiper {
    margin: 0 auto;
    overflow: hidden;
    /* width: 65.87vw; */
  }
  .text_introduction .box_area .swiper-wrapper {
    width: 100%;
    height: auto !important;
  }
  .text_introduction .box_area .swiper-pagination {
    /*	  
	background-color: mediumaquamarine;
	  */
    display: flex;
    justify-content: center;
    /*
    justify-content: space-between;
	  */
    /*top: 27%;*/
    top: 55vw;
    left: 50%;
    transform: translateX(-50%);
    /* spでドットが多いときに長体がかかるのを解消するためwidthをやめてjustify-contentをcenterにした
    width: 18vw;
	  */
  }
  .text_introduction .box_area .swiper-pagination-bullet {
    width: 3.2vw;
    height: 3.2vw;
    background-color: #e6e6e6;
    opacity: 1;
  }
  .text_introduction .swiper-button-next:after,
  .text_introduction .swiper-button-prev:after {
    content: "";
    display: block;
    width: 8vw;
    height: 10vw;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
  .text_introduction .swiper-button-next:after {
    background-image: url(/textbook_history/images/icon_next_shadow.png);
  }
  .text_introduction .swiper-button-prev:after {
    background-image: url(/textbook_history/images/icon_prev_shadow.png);
  }
  /* 見づらいとき用のセット */
  .text_introduction .edge .swiper-button-next:after {
    background-image: url(/textbook_history/images/icon_next_edged.png);
  }
  .text_introduction .edge .swiper-button-prev:after {
    background-image: url(/textbook_history/images/icon_prev_edged.png);
  }

  .text_introduction .swiper-button-next,
  .text_introduction .swiper-rtl .swiper-button-prev {
    right: 6%;
  }
  .text_introduction .swiper-button-prev,
  .text_introduction .swiper-rtl .swiper-button-next {
    left: 6%;
  }
  .text_introduction .box_area .swiper-button-next,
  .text_introduction .swiper-rtl .swiper-button-prev {
    top: 13.5%;
    right: 0;
  }
  .text_introduction .box_area .swiper-button-prev,
  .text_introduction .swiper-rtl .swiper-button-next {
    top: 13.5%;
    left: 0;
  }
  .text_introduction .box_area .swiper-slide {
    width: 100%;
    height: 100%;
  }
  .text_introduction .box_area .swiper-slide {
    width: 100%;
    height: 100%;
  }
  .text_introduction .box_area .swiper-slide img {
    display: block;
    margin: 0 auto;
    /* width: 65.8vw; */
    height: 50.67vw;
  }

  .text_introduction #history_link_area .link_list li a:after {
    content: "";
    position: absolute;
    top: 19%;
    right: 10%;
    width: 1.87vw;
    height: 3.2vw;
    background-image: url(/textbook_history/images/arrow_gray.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  /* ページごとの設定 */
  .text_introduction #main_box h2.main_box_mainImg {
    background-position: top center;
  }
  .sansu .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_sansu_sp.jpg);
  }
  .seikatsu .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_seikatsu_sp.jpg);
  }
  .hoken .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_hoken_sp.jpg);
  }
  .math .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_math_sp.jpg);
  }
  .science .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_science_sp.jpg);
  }
  .pe .main_box_mainImg {
    background-image: url(../../textbook_history/images/mainImg_pe_sp.jpg);
  }

  .text_introduction.history01 .contents h3 {
    background-color: #ebc7b5;
  }
  .text_introduction.history01 .contents h3 .number {
    color: #cc9f85;
  }
  .text_introduction.history01 .sec h4 {
    border-color: #ebc7b5;
    color: #cc9f85;
  }
  .text_introduction.history01 .sec .text_click {
    color: #cc9f85;
  }
  .text_introduction.history01 .box_area {
    border-color: #e6bda5;
  }
  .text_introduction.history01 .box_area .swiper-pagination-bullet-active {
    background-color: #e6bda5;
  }
  .text_introduction.history02 .contents h3 {
    background-color: #e6d47e;
  }
  .text_introduction.history02 .contents h3 .number {
    color: #d4b82f;
  }
  .text_introduction.history02 .sec h4 {
    border-color: #e6d47e;
    color: #d4b82f;
  }
  .text_introduction.history02 .sec .text_click {
    color: #d4b82f;
  }
  .text_introduction.history02 .box_area {
    border-color: #e6d47e;
  }
  .text_introduction.history02 .box_area .swiper-pagination-bullet-active {
    background-color: #e6d47e;
  }
  .text_introduction.history03 .contents h3 {
    background-color: #c3de85;
  }
  .text_introduction.history03 .contents h3 .number {
    color: #88b81a;
  }
  .text_introduction.history03 .sec h4 {
    border-color: #c3de85;
    color: #88b81a;
  }
  .text_introduction.history03 .sec .text_click {
    color: #88b81a;
  }
  .text_introduction.history03 .box_area {
    border-color: #c3de85;
  }
  .text_introduction.history03 .box_area .swiper-pagination-bullet-active {
    background-color: #c3de85;
  }
  .text_introduction.history04 .contents h3 {
    background-color: #a0ded9;
  }
  .text_introduction.history04 .contents h3 .number {
    color: #56b8af;
  }
  .text_introduction.history04 .sec h4 {
    border-color: #a0ded9;
    color: #56b8af;
  }
  .text_introduction.history04 .sec .text_click {
    color: #56b8af;
  }
  .text_introduction.history04 .box_area {
    border-color: #a0ded9;
  }
  .text_introduction.history04 .box_area .swiper-pagination-bullet-active {
    background-color: #a0ded9;
  }
  .text_introduction.history05 .contents h3 {
    background-color: #a6cff7;
    font-size: 4.8vw;
  }
  .text_introduction.history05 .contents h3 .number {
    color: #5d9ede;
  }
  .text_introduction.history05 .sec h4 {
    border-color: #a6cff7;
    color: #5d9ede;
  }
  .text_introduction.history05 .sec .text_click {
    color: #5d9ede;
  }
  .text_introduction.history05 .box_area {
    border-color: #a6cff7;
  }
  .text_introduction.history05 .box_area .swiper-pagination-bullet-active {
    background-color: #a6cff7;
  }
  .text_introduction.history06 .contents h3 {
    background-color: #cfbef7;
    font-size: 4.8vw;
  }
  .text_introduction.history06 .contents h3 .number {
    color: #ab91eb;
  }
  .text_introduction.history06 .sec h4 {
    border-color: #cfbef7;
    color: #ab91eb;
  }
  .text_introduction.history06 .sec .text_click {
    color: #ab91eb;
  }
  .text_introduction.history06 .box_area {
    border-color: #cfbef7;
  }
  .text_introduction.history06 .box_area .swiper-pagination-bullet-active {
    background-color: #cfbef7;
  }
  .text_introduction.history07 .contents h3 {
    background-color: #f7bed7;
    font-size: 4.8vw;
  }
  .text_introduction.history07 .contents h3 .number {
    color: #eb86b1;
  }
  .text_introduction.history07 .sec h4 {
    border-color: #f7bed7;
    color: #eb86b1;
  }
  .text_introduction.history07 .sec .text_click {
    color: #eb86b1;
  }
  .text_introduction.history07 .box_area {
    border-color: #f7bed7;
  }
  .text_introduction.history07 .box_area .swiper-pagination-bullet-active {
    background-color: #f7bed7;
  }
  .text_introduction.history08 .contents h3 {
    background-color: #f6c674;
    font-size: 4.8vw;
  }
  .text_introduction.history08 .contents h3 .number {
    color: #ee9e00;
  }
  .text_introduction.history08 .sec h4 {
    border-color: #f6c674;
    color: #ee9e00;
  }
  .text_introduction.history08 .sec .text_click {
    color: #ee9e00;
  }
  .text_introduction.history08 .box_area {
    border-color: #f6c674;
  }
  .text_introduction.history08 .box_area .swiper-pagination-bullet-active {
    background-color: #f6c674;
  }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
  .text_introduction .box_area .swiper-button-prev,
  .text_introduction .swiper-rtl .swiper-button-next {
    top: 22vw;
  }
  .text_introduction .box_area .swiper-button-next,
  .text_introduction .swiper-rtl .swiper-button-prev {
    top: 22vw;
  }
}

@media screen and (min-width: 1240px) {
  .text_introduction .box_area .swiper-pagination {
    top: 560px;
  }
}

@media screen and (min-width: 601px) and (max-width: 1200px) {
  .text_introduction .box_area p {
    /* ↓20230725：変な右側のアキが生じていた */
    /* max-width: 66vw; */
    width: auto;
  }

  .text_introduction .sec_img_box .open_wrapper:before {
    font-size: 1.4vw;
  }

  .text_introduction .sec_img_box .open_wrapper:after {
    width: 0.9vw;
    height: 1.3vw;
  }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  .text_introduction .box_area .swiper-slide img {
    margin: 0 auto;
    height: 46vw;
  }
  .text_introduction .box_area .swiper-button-prev,
  .text_introduction .swiper-rtl .swiper-button-next {
    top: 24vw;
    left: 1vw;
  }
  .text_introduction .box_area .swiper-button-next,
  .text_introduction .swiper-rtl .swiper-button-prev {
    top: 24vw;
    right: 1vw;
  }
  .text_introduction .box_area .swiper-pagination {
    top: 48vw;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .text_introduction .box_area .swiper-slide img {
    height: 44vw;
  }
}

@media screen and (min-width: 601px) and (max-width: 800px) {
  .text_introduction .box_area .swiper-slide img {
    height: 44vw;
  }
}
