﻿@charset "UTF-8";

/*----------------------------------------
変数
-----------------------------------------*/
/* :root {
  --inner-padding-Top-LR: 7vw;
} */
.txt_small {
  font-size: 80%;
}


/*----------------------------------------
年代別
-----------------------------------------*/
#history {
  position: relative;
  background: url(../img/history/bg_img.jpg) no-repeat center center;
  background-size: cover;
}

/* スライド */
.swiper-container {
  position: relative;
  height: 100%;
}

.swiper-container {
  padding: calc(4 * var(--inner-padding-LR)) 0;
}

.swiper-button-prev,
.swiper-button-next {
  position: fixed;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.swiper-button-next {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.15) 100%);
  margin-top: 0;
  left: unset;
}

.swiper-button-prev {
  left: 0;
  right: unset;
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.15) 100%);
  margin-top: 0;
}


.inner_R_wide {
  margin-top: 50px;
  padding: 0;
}

.chronology_box {
  display: flex;
  width: fit-content;
  background: #fbfbfb;
  margin-left: 120px;
  padding-right: 300px;
}

.chronology_box dl {
  position: relative;
  width: 31rem;
  height: 96rem;
  border-right: 1px dashed #ececec;
}

.chronology_box dl.since_1950,
.chronology_box dl.since_1960 {
  width: 38rem;
}

.chronology_box dl.since_2010,
.chronology_box dl.since_2020 {
  width: 26rem;
}

.chronology_box dl:last-child {
  border-right: unset;
  margin-right: 100px;
  padding-right: 120px;
}

.chronology_box dl:last-child::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: #fff;
}

.chronology_box dl:nth-child(odd)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #cacaca;
  mix-blend-mode: overlay;
  opacity: 0.15;
}

.chronology_box dl dt.year_num {
  width: fit-content;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--col-gold02);
  transform: translate(-50%, -60%);
  mix-blend-mode: multiply;
  z-index: 10;
}

.chronology_box dl:first-child dt.year_num {
  transform: translate(0%, -60%);
}

.chronology_box dl .year_box {
  font-size: 1.25rem;
  line-height: 1;
}

.chronology_box dl .year_box .year_num {
  font-size: 1.45em;
  font-weight: 500;
}

.chronology_box dl .txt_box {
  font-size: 0.875rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}


.bookLine_list {
  display: flex;
  position: absolute;
}

.bookLine_list>* {
  /* 親のサイズを無視する */
  flex-shrink: 0;
}

.event_item {
  position: relative;
  width: fit-content;
  z-index: 5;
}

.bookImg_wrap.tate {
  width: 7rem;
  height: 10rem;
  overflow: hidden;
  /* background: #ccc; */
}

.bookImg_wrap.yoko {
  width: 10.5rem;
  height: 7.65rem;
}

.bookImg_wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line_start::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 40%;
  transform: translate(0, -50%);
  height: 1px;
  background: var(--col-gold02);
  z-index: 3;
}

/* 以下具体的な年表レイアウト */
:root {
  --height-bukka_hon: 3em;
  --height-bukka_doko: 21.75em;
  --height-yodo: 12.5em;
  --height-sekisan_hon: 43em;
  --height-sekisan_gougai: 52.5em;
  --height-sekisan_tok: 36.5em;
  --height-sekisan_journal: 16.75em;
  --height-sekou_kenchiku: 16.75em;
  --height-pocket_jutaku: 52.5em;
  --height-pocket_reform: 36.5em;
  --height-pocket_mansion: 68.5em;
  --height-insatsu: 26.5em;

  --height-world_topic_no1: 71.5em;
  --height-world_topic_no2: 85em;
  --height-world_topic_no3: 60em;
  --height-world_topic_no4: 80em;
  --height-world_topic_no5: 88.5em;
}

.chronology_wrap {
  overflow: hidden;
}

/*--- 物価 -------------------------*/
.bukka_hon {
  top: var(--height-bukka_hon);
}

.line_start.bukka_hon::before {
  width: 170em;
}

.bukka_hon.line_start {
  margin-left: 1em;
}

.bukka_hon .year_1947 {
  margin-left: 1em;
}

.bukka_hon .year_1961 {
  margin-left: 1em;
}

.since_1990 .bukka_hon.line_start {
  margin-left: 20em;
}

.since_1990 .line_start.bukka_hon::before {
  width: 89.5em;
}

.since_1990 .line_start.bukka_hon::after {
  content: '';
  position: absolute;
  left: 89.5em;
  bottom: 40%;
  transform: translate(0, -50%);
  width: 3.5em;
  height: 1px;
  border-bottom: 1px dashed var(--col-gold02);
  z-index: 1;
}


/*--- 物価動向 -------------------------*/
.bukka_doko {
  top: var(--height-bukka_doko);
}

.line_start.bukka_doko::before {
  width: 55em;
}

.bukka_doko.line_start {
  margin-left: 1em;
}

.bukka_doko .year_1965 {
  margin-left: 14em;
}

/*--- 用度 -------------------------*/
.yodo {
  top: var(--height-yodo);
}

.line_start.yodo::before {
  width: 54em;
}

.yodo.line_start {
  margin-left: 28.5em;
}

.yodo .year_1968 {
  margin-left: 28.5em;
}

.yodo .year_1971 {
  margin-left: 1em;
}

/*--- 積算資料 本番 -------------------------*/
.sekisan_hon {
  top: var(--height-sekisan_hon);
}

.line_start.sekisan_hon::before {
  width: 267.25em;
}

.line_start.sekisan_hon::after {
  content: '';
  position: absolute;
  left: 267.25em;
  bottom: 40%;
  transform: translate(0, -50%);
  width: 3.5em;
  height: 1px;
  /* background: var(--col-gold02); */
  border-bottom: 1px dashed var(--col-gold02);
  z-index: 1;
}

.sekisan_hon.line_start {
  margin-left: 11.5em;
}

.sekisan_hon .year_1951 {
  margin-left: 1em;
}

.sekisan_hon .year_1954 {
  margin-left: 2em;
}


/*--- 積算資料 号外系 -------------------------*/
.sekisan_gougai {
  top: var(--height-sekisan_gougai);
}

.line_start.sekisan_gougai::before {
  width: 51em;
}

.sekisan_gougai.line_start {
  margin-left: 24em;
}

.sekisan_gougai .year_1963,
/* .sekisan_gougai .year_1966, */
.sekisan_gougai .year_1969 {
  margin-left: 5.5em;
}

.sekisan_gougai .year_1966 {
  margin-left: 4.5em;
}


/*--- 積算資料 特別系 -------------------------*/
.sekisan_tok {
  top: var(--height-sekisan_tok);
}

.line_start.sekisan_tok::before {
  width: 18em;
}

.sekisan_tok.line_start {
  margin-left: 5.5em;
}

.sekisan_tok .year_1966 {
  margin-left: 5.5em;
}

.sekisan_tok .year_1982 {
  margin-left: 2.5em;
}


/*--- 積算資料ジャーナル -------------------------*/
.sekisan_journal {
  top: var(--height-sekisan_journal);
}

.line_start.sekisan_journal.journal::before {
  width: 15em;
}

.sekisan_journal.journal.line_start {
  margin-left: 21.5em;
}

.sekisan_journal.journal .year_1981 {
  margin-left: 1em;
}

.sekisan_journal.journal.line_start {
  margin-left: 21.5em;
}


/*--- 施工単価 -------------------------*/
.sekou_kenchiku {
  top: var(--height-sekou_kenchiku);
}

.line_start.sekou_kenchiku::before {
  width: 128.25em;
}

.line_start.sekou_kenchiku::after {
  content: '';
  position: absolute;
  left: 128.25em;
  bottom: 40%;
  transform: translate(0, -50%);
  width: 3.5em;
  height: 1px;
  border-bottom: 1px dashed var(--col-gold02);
  z-index: 1;
}

.sekou_kenchiku.line_start {
  margin-left: 12.25em;
}

.sekou_kenchiku .year_1998 {
  margin-left: 22em;
}


/*--- 積算資料ポケット版 本番 -------------------------*/
.pocket_jutaku {
  top: var(--height-pocket_jutaku);
}

.line_start.pocket_jutaku::before {
  width: 126.35em;
}

.line_start.pocket_jutaku::after {
  content: '';
  position: absolute;
  left: 126.35em;
  bottom: 40%;
  transform: translate(0, -50%);
  width: 3.5em;
  height: 1px;
  border-bottom: 1px dashed var(--col-gold02);
  z-index: 1;
}

.pocket_jutaku.line_start {
  margin-left: 14em;
}

.pocket_jutaku .year_2004 {
  margin-left: 9em;
}

.pocket_jutaku .year_2012 {
  margin-left: 3em;
}


/*--- 積算資料ポケット版 リフォーム -------------------------*/
.pocket_reform {
  top: var(--height-pocket_reform);
}

.line_start.pocket_reform::before {
  width: 120.5em;
}

.line_start.pocket_reform::after {
  content: '';
  position: absolute;
  left: 120.5em;
  bottom: 40%;
  transform: translate(0, -50%);
  width: 3.5em;
  height: 1px;
  border-bottom: 1px dashed var(--col-gold02);
  z-index: 1;
}

.pocket_reform.line_start {
  margin-left: 20em;
}

.pocket_reform .year_2005 {
  margin-left: 13em;
}


/*--- 積算資料ポケット版 マンション -------------------------*/
.pocket_mansion {
  top: var(--height-pocket_mansion);
}

.line_start.pocket_mansion::before {
  width: 73.5em;
}

.line_start.pocket_mansion::after {
  content: '';
  position: absolute;
  left: 73.5em;
  bottom: 40%;
  transform: translate(0, -50%);
  width: 3.5em;
  height: 1px;
  border-bottom: 1px dashed var(--col-gold02);
  z-index: 1;
}

.pocket_mansion.line_start {
  margin-left: 5em;
}

.pocket_mansion .lineheight3 {
  height: 3.8em;
}

.pocket_mansion .year_2005 {
  margin-left: 0.8em;
}

.pocket_mansion .year_2006 {
  margin-left: 0.275em;
}

.pocket_mansion .year_2012 {
  margin-left: 3em;
}

.pocket_mansion .year_2025 {
  margin-left: 10.25em;
}


/*--- 積算資料 印刷料金 -------------------------*/
.insatsu {
  top: var(--height-insatsu);
}

.line_start.insatsu::before {
  width: 106.5em;
}

.line_start.insatsu::after {
  content: '';
  position: absolute;
  left: 106.5em;
  bottom: 40%;
  transform: translate(0, -50%);
  width: 3.5em;
  height: 1px;
  border-bottom: 1px dashed var(--col-gold02);
  z-index: 1;
}

.insatsu.line_start {
  margin-left: 3em;
}

.insatsu .year_1994 {
  margin-left: 0.5em;
}

.insatsu .year_2008 {
  margin-left: 23.5em;
}



/*----------------------------------------
世界年表
-----------------------------------------*/
.world_topic.no1 {
  top: var(--height-world_topic_no1);
}

.world_topic.no2 {
  top: var(--height-world_topic_no2);
}

.world_topic.no3 {
  top: var(--height-world_topic_no3);
}

.world_topic.no4 {
  top: var(--height-world_topic_no4);
}

.world_topic.no5 {
  top: var(--height-world_topic_no5);
}

.world_topic .txt_box {
  color: var(--col-gold02);
  font-weight: 600;
  width: max-content;
}

.world_topic .year_1946 {
  margin-left: 1em;
}

.world_topic .year_1947 {
  margin-left: 10em;
  width: 14em;
}

.world_topic .year_1949 {
  margin-left: 8.5em;
  width: 14em;
}

.world_topic .year_1950 {
  position: relative;
}

.world_topic .year_1950::before {
  content: '';
  position: absolute;
  top: 0%;
  left: 1.25em;
  transform: translate(-100%, -10%);
  width: 15em;
  height: 11em;
  background: url(../img/history/y1950_img.webp) no-repeat center center;
  background-size: contain;
  z-index: -1;
}

.world_topic .year_1958 {
  margin-left: 30em;
}

.world_topic .year_1955 {
  margin-left: 16em;
}

.world_topic .year_1964 {
  margin-left: 14em;
}

.world_topic .year_1969 {
  margin-left: 9em;
}

.world_topic .year_1970 {
  margin-left: 0.5em;
}

.world_topic .year_1972 {
  margin-left: 3em;
}

.world_topic .year_1976 {
  margin-left: 17em;
}

.world_topic .year_1978 {
  margin-left: 22em;
  margin-top: -5em;
}

.world_topic .year_1978::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -1.75em;
  transform: translate(0%, 0%);
  width: 24em;
  height: 14em;
  background: url(../img/history/y1978_img.webp) no-repeat center center;
  background-size: contain;
  z-index: -1;
}

.world_topic .year_1984 {
  margin-left: 12em;
}

.world_topic .year_1984::before {
  content: '';
  position: absolute;
  top: -56%;
  right: -11.75em;
  transform: translate(0%, 0%);
  width: 16em;
  height: 14em;
  background: url(../img/history/y1984_img.webp) no-repeat center center;
  background-size: contain;
  z-index: -1;
}

.world_topic .year_1985 {
  margin-left: 14em;
}

.world_topic .year_1989 {
  margin-left: 29.5em;
}

.world_topic .year_1995 {
  margin-left: 15.5em;
}

.world_topic .year_1997 {
  margin-left: 20em;
}

.world_topic .year_2004 {
  margin-left: 9em;
}

.world_topic .year_2012 {
  margin-left: 3em;
}

.world_topic .year_2021 {
  margin-left: 1em;
}

.world_topic .year_2025 {
  margin-left: 3em;
}


.chronology_box dl.since_1960::after {
  content: '';
  position: absolute;
  left: -11em;
  bottom: 0;
  width: 52em;
  height: 40em;
  background: url(../img/history/tokyotower_img.webp) no-repeat center bottom;
  background-size: contain;
}

.chronology_box dl.since_2010::after {
  content: '';
  position: absolute;
  left: -3em;
  bottom: -1em;
  width: 43em;
  height: 41em;
  background: url(../img/history/skytree_img.webp) no-repeat center bottom;
  background-size: contain;
}


/* モーダル */
.modal-content {
  width: 86vw;
  max-width: 1150px;
  background: unset;
  color: #fff;
}

.modal-content .flex .img_box {
  width: 24%;
}

.modal-content .flex .img_box .bookImg_wrap.tate,
.modal-content .flex .img_box .bookImg_wrap.yoko {
  width: auto;
  height: auto;
}

.modal-content .flex .txt_box {
  width: 70%;
}

.modal-content .flex .txt_box .tit_box {
  color: var(--col-gold03);
  font-size: 1.75rem;
  padding-bottom: 0.25em;
}

.modal-content .flex .txt_box .tit_box .sub_tit {
  display: block;
  font-size: 0.65em;
}

.modal-content .flex .txt_box .tit_box .main_tit {
  display: block;
}

.modal-content .flex .txt_box p {
  margin-bottom: 1em;
}

.modal-content .flex .txt_box p:last-child {
  margin-bottom: 0;
}

.modal-content .flex .pagelist_wrap {
  margin-top: 30px;
}

.modal-content .flex .pagelist_wrap li {
  margin-bottom: 20px;
}

.modal-content .flex .pagelist_wrap li:last-child {
  margin-bottom: 0px;
}

.modal-content .btn_wrap {
  display: block;
  margin-top: 50px;
  margin-left: auto;
}

.open-btn.end {
  cursor: unset;
}



@media only screen and (max-width: 1200px) {


  /*----------------------------------------
  年代別
  -----------------------------------------*/
  #history .btn_wrap.more {
    top: 35%;
    left: calc(100% - 6.5vw);
  }
}

@media only screen and (max-width: 1150px) {}

@media only screen and (max-width: 959px) {}


@media only screen and (max-width: 767px) {

  /*----------------------------------------
  年代別
  -----------------------------------------*/
  #history::before {
    background: url(../img/index/history_bg_book_sp.png) no-repeat center bottom;
    background-size: cover;
  }

  #history::after {
    z-index: -1;
  }

  #history.mainContents .inner_box {
    width: 95%;
  }

  #history .inner_wrap {
    height: 100%;
  }

  .inner_R_wide {
    margin-top: 10vw;
    margin-left: var(--inner-padding-LR);
    width: calc(100% - var(--inner-padding-LR));
  }

  .modal-content .btn_wrap {
    margin-bottom: 50px;
  }


  /* モーダル */
  .modal-content .flex {
    flex-wrap: wrap;
  }

  .modal-content .flex .img_box,
  .modal-content .flex .txt_box {
    width: 100%;
  }

  .modal-content .flex .img_box .bookImg_wrap {
    margin-bottom: 8vw;
  }

  .modal-content .flex .img_box .bookImg_wrap.tate img {
    width: 80%;
    margin: auto;
  }

  .modal-content .flex .txt_box .tit_box {
    font-size: 1.65rem;
  }

  .modal-content .flex .txt_box .tit_box .sub_tit {
    display: block;
    font-size: 0.65em;
  }
}